blob: bb2223c8e76a7d251a7917330932d5f15c47e7fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils autotools multilib
DESCRIPTION=""
HOMEPAGE=""
SRC_URI="mirror://debian/pool/main/a/apt/apt_${PV}.tar.gz"
LICENSE="GPL-v2"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc xml"
RDEPEND="app-arch/dpkg"
DEPEND="doc? ( app-doc/doxygen )
xml? ( app-text/xmlto )
${RDEPEND}"
src_install() {
# Install only necessary things, as we don't need another package manager
dobin "${S}"/bin/apt-*
insinto /usr/$(get_libdir)
doins "${S}"/bin/libapt-inst*.1.1.0 "${S}"/bin/libapt-pkg*.4.4.0
dosym /usr/$(get_libdir)/libapt-inst-libc6.6-6.so.1.1.0 \
/usr/$(get_libdir)/libapt-inst-libc6.6-6.so.1.1
dosym /usr/$(get_libdir)/libapt-inst-libc6.6-6.so.1.1.0 \
/usr/$(get_libdir)/libapt-inst.so
dosym /usr/$(get_libdir)/libapt-pkg-libc6.6-6.so.4.4.0 \
/usr/$(get_libdir)/libapt-pkg-libc6.6-6.so.4.4
dosym /usr/$(get_libdir)/libapt-pkg-libc6.6-6.so.4.4.0 \
/usr/$(get_libdir)/libapt-pkg.so
insinto /usr/$(get_libdir)/apt/methods
doins "${S}"/bin/methods/*
dodoc AUTHORS BUGS debian/changelog
docinto examples
dodoc doc/examples/*
doman doc/*.?
}
|