diff options
Diffstat (limited to 'dev-util/rootstrap/rootstrap-0.3.24_p5-r1.ebuild')
-rw-r--r-- | dev-util/rootstrap/rootstrap-0.3.24_p5-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/rootstrap/rootstrap-0.3.24_p5-r1.ebuild b/dev-util/rootstrap/rootstrap-0.3.24_p5-r1.ebuild new file mode 100644 index 000000000000..cbb2c42f267c --- /dev/null +++ b/dev-util/rootstrap/rootstrap-0.3.24_p5-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/rootstrap/rootstrap-0.3.24_p5-r1.ebuild,v 1.1 2011/11/26 01:44:59 floppym Exp $ + +EAPI=3 +PYTHON_DEPEND="2" +inherit eutils python + +DESCRIPTION="A tool for building complete Linux filesystem images" +HOMEPAGE="http://packages.qa.debian.org/rootstrap" +SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV/_p*}.orig.tar.gz + mirror://debian/pool/main/r/${PN}/${PN}_${PV/_p/-}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="dev-util/debootstrap + app-arch/dpkg" +DEPEND="${RDEPEND} + app-text/docbook-sgml-utils" + +RESTRICT="test" + +S="${WORKDIR}"/${PN} + +src_prepare() { + epatch "${WORKDIR}"/${PN}_${PV/_p/-}.diff + sed -i -e 's:docbook-to-man:docbook2man:' Makefile +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + newdoc debian/changelog ChangeLog + python_convert_shebangs -r 2 "${D}" +} |