summaryrefslogtreecommitdiff
blob: 29d0e890b0c46a87bd9e266b6578cf39799d6bf3 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cdebootstrap/cdebootstrap-0.5.8.ebuild,v 1.1 2011/08/22 09:31:19 jer Exp $

EAPI=2

DESCRIPTION="Debian/Ubuntu bootstrap scripts written in C"
HOMEPAGE="http://packages.qa.debian.org/c/cdebootstrap.html"
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}.tar.gz
	mirror://debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2009.01.31.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-arch/dpkg
	dev-libs/libdebian-installer"
RDEPEND="app-crypt/gnupg
	net-misc/wget"

src_install() {
	emake DESTDIR="${D}" install || die "make install failed"
	dodoc doc/* debian/changelog debian/NEWS || die

	# Install the keyrings
	cd "${WORKDIR}"
	insinto /usr/share/keyrings
	doins debian-archive-keyring-2009.01.31/keyrings/*.gpg || die
}