Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 326115
Collapse All | Expand All

(-)rootstrap.orig/rootstrap-0.3.24_p5.ebuild (-5 / +5 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/rootstrap/rootstrap-0.3.24_p5.ebuild,v 1.1 2010/03/30 00:15:04 jer Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/rootstrap/rootstrap-0.3.24_p5.ebuild,v 1.1 2010/03/30 00:15:04 jer Exp $
4
4
5
inherit eutils
5
EAPI=3
6
PYTHON_DEPEND="2"
7
inherit eutils python
6
8
7
DESCRIPTION="A tool for building complete Linux filesystem images"
9
DESCRIPTION="A tool for building complete Linux filesystem images"
8
HOMEPAGE="http://packages.qa.debian.org/rootstrap"
10
HOMEPAGE="http://packages.qa.debian.org/rootstrap"
Lines 15-21 Link Here
15
IUSE=""
17
IUSE=""
16
18
17
RDEPEND="dev-util/debootstrap
19
RDEPEND="dev-util/debootstrap
18
	dev-lang/python
19
	app-arch/dpkg"
20
	app-arch/dpkg"
20
DEPEND="${RDEPEND}
21
DEPEND="${RDEPEND}
21
	app-text/docbook-sgml-utils"
22
	app-text/docbook-sgml-utils"
Lines 24-32 Link Here
24
25
25
S="${WORKDIR}"/${PN}
26
S="${WORKDIR}"/${PN}
26
27
27
src_unpack() {
28
src_prepare() {
28
	unpack ${A}
29
	cd "${S}"
30
	epatch "${WORKDIR}"/${PN}_${PV/_p/-}.diff
29
	epatch "${WORKDIR}"/${PN}_${PV/_p/-}.diff
31
	sed -i -e 's:docbook-to-man:docbook2man:' Makefile
30
	sed -i -e 's:docbook-to-man:docbook2man:' Makefile
32
}
31
}
Lines 34-37 Link Here
34
src_install() {
33
src_install() {
35
	emake DESTDIR="${D}" install || die "emake install failed."
34
	emake DESTDIR="${D}" install || die "emake install failed."
36
	newdoc debian/changelog ChangeLog
35
	newdoc debian/changelog ChangeLog
36
	python_convert_shebangs -r 2 "${D}"
37
}
37
}

Return to bug 326115