Lines 2-7
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/net-nds/rpcbind/rpcbind-0.2.0.ebuild,v 1.7 2011/03/24 10:05:57 tomka Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.0.ebuild,v 1.7 2011/03/24 10:05:57 tomka Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
5 |
if [[ ${PV} == "9999" ]] ; then |
7 |
if [[ ${PV} == "9999" ]] ; then |
6 |
EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git" |
8 |
EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git" |
7 |
inherit autotools git |
9 |
inherit autotools git |
Lines 17-42
HOMEPAGE="http://sourceforge.net/project
Link Here
|
17 |
|
19 |
|
18 |
LICENSE="BSD" |
20 |
LICENSE="BSD" |
19 |
SLOT="0" |
21 |
SLOT="0" |
20 |
IUSE="" |
22 |
IUSE="ipv6" |
21 |
|
23 |
|
22 |
DEPEND="net-libs/libtirpc" |
24 |
DEPEND="net-libs/libtirpc" |
23 |
RDEPEND=${DEPEND} |
25 |
RDEPEND=${DEPEND} |
24 |
|
26 |
|
25 |
src_unpack() { |
27 |
src_prepare() { |
26 |
if [[ ${PV} == "9999" ]] ; then |
28 |
if [[ ${PV} == "9999" ]] ; then |
27 |
git_src_unpack |
|
|
28 |
eautoreconf |
29 |
eautoreconf |
29 |
else |
30 |
else |
30 |
unpack ${A} |
|
|
31 |
cd "${S}" |
32 |
# fix busted timestamps |
31 |
# fix busted timestamps |
33 |
find . -type f -print0 | xargs -0 touch -r . |
32 |
find . -type f -print0 | xargs -0 touch -r . |
34 |
fi |
33 |
fi |
|
|
34 |
|
35 |
use ipv6 || sed -i '/^INCLUDES/s: -DINET6 : :' src/Makefile.in |
35 |
} |
36 |
} |
36 |
|
37 |
|
37 |
src_compile() { |
38 |
src_configure() { |
38 |
econf --bindir=/sbin || die |
39 |
econf --bindir=/sbin |
39 |
emake || die |
|
|
40 |
} |
40 |
} |
41 |
|
41 |
|
42 |
src_install() { |
42 |
src_install() { |