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/app-admin/realpath/realpath-1.14.ebuild,v 1.2 2009/05/11 20:29:15 loki_val Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/realpath/realpath-1.14.ebuild,v 1.2 2009/05/11 20:29:15 loki_val Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI="2" |
|
|
6 |
|
6 |
inherit eutils toolchain-funcs |
7 |
inherit eutils toolchain-funcs |
7 |
|
8 |
|
8 |
DESCRIPTION="Return the canonicalized absolute pathname" |
9 |
DESCRIPTION="Return the canonicalized absolute pathname" |
Lines 15-22
Link Here
|
15 |
IUSE="" |
16 |
IUSE="" |
16 |
|
17 |
|
17 |
RDEPEND="!sys-freebsd/freebsd-bin" |
18 |
RDEPEND="!sys-freebsd/freebsd-bin" |
18 |
DEPEND="${RDEPEND} |
|
|
19 |
app-text/po4a" |
20 |
|
19 |
|
21 |
src_prepare() { |
20 |
src_prepare() { |
22 |
epatch "${FILESDIR}"/${P}-build.patch |
21 |
epatch "${FILESDIR}"/${P}-build.patch |
Lines 24-33
Link Here
|
24 |
|
23 |
|
25 |
src_compile() { |
24 |
src_compile() { |
26 |
tc-export CC |
25 |
tc-export CC |
27 |
emake VERSION="${PV}"|| die "emake failed" |
26 |
emake VERSION="${PV}" -C src || die "bin emake failed" |
|
|
27 |
emake VERSION="${PV}" -C man || die "man emake failed" |
28 |
} |
28 |
} |
29 |
|
29 |
|
30 |
src_install() { |
30 |
src_install() { |
31 |
emake VERSION="${PV}" DESTDIR="${D}" install || die "emake install failed" |
31 |
emake VERSION="${PV}" DESTDIR="${D}" -C src install || die "bin install failed" |
|
|
32 |
emake VERSION="${PV}" DESTDIR="${D}" -C man install || die "man install failed" |
32 |
newdoc debian/changelog ChangeLog.debian |
33 |
newdoc debian/changelog ChangeLog.debian |
33 |
} |
34 |
} |