summaryrefslogtreecommitdiff
blob: 949764e4c7520b652475051a74c7a7a8050603cb (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/debootstrap/debootstrap-0.3.3-r1.ebuild,v 1.6 2007/03/13 17:40:31 armin76 Exp $

DESCRIPTION="Debian bootstrap scripts"
HOMEPAGE="http://packages.qa.debian.org/d/debootstrap.html"
SRC_URI="mirror://debian/pool/main/d/debootstrap/debootstrap_${PV}.tar.gz
	mirror://gentoo/devices.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 hppa ia64 ppc ~sparc x86"
IUSE="nodpkg"

DEPEND="sys-devel/binutils
	net-misc/wget
	!nodpkg? ( app-arch/dpkg )"

S=${WORKDIR}/${PV}

src_unpack() {
	unpack debootstrap_${PV}.tar.gz
	cp "${DISTDIR}"/devices.tar.gz "${S}"/devices-std.tar.gz || die
}

src_compile() {
	emake pkgdetails debootstrap-arch || die
}

src_install() {
	make DESTDIR="${D}" install-allarch || die
	dodoc TODO
}