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/sys-apps/rng-tools/rng-tools-2-r1.ebuild,v 1.1 2009/09/03 20:27:20 williamh Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/rng-tools-2-r1.ebuild,v 1.1 2009/09/03 20:27:20 williamh Exp $ |
4 |
|
4 |
|
5 |
inherit autotools |
5 |
inherit autotools flag-o-matic |
6 |
|
6 |
|
7 |
DESCRIPTION="Daemon to use hardware random number generators." |
7 |
DESCRIPTION="Daemon to use hardware random number generators." |
8 |
HOMEPAGE="http://gkernel.sourceforge.net/" |
8 |
HOMEPAGE="http://gkernel.sourceforge.net/" |
Lines 10-17
Link Here
|
10 |
LICENSE="GPL-2" |
10 |
LICENSE="GPL-2" |
11 |
SLOT="0" |
11 |
SLOT="0" |
12 |
KEYWORDS="alpha amd64 ia64 ppc x86" |
12 |
KEYWORDS="alpha amd64 ia64 ppc x86" |
13 |
IUSE="" |
13 |
IUSE="elibc_uclibc" |
14 |
DEPEND="" |
14 |
DEPEND="elibc_uclibc? ( sys-libs/argp-standalone )" |
15 |
RDEPEND="" |
15 |
RDEPEND="" |
16 |
|
16 |
|
17 |
src_unpack() { |
17 |
src_unpack() { |
Lines 23-28
Link Here
|
23 |
eautoreconf |
23 |
eautoreconf |
24 |
} |
24 |
} |
25 |
|
25 |
|
|
|
26 |
src_compile() { |
27 |
if use elibc_uclibc ; then |
28 |
# Need to use standalone argp library |
29 |
LIBS="${LIBS} -largp" |
30 |
fi |
31 |
|
32 |
econf |
33 |
emake LIBS="$LIBS" |
34 |
} |
35 |
|
26 |
src_install() { |
36 |
src_install() { |
27 |
make DESTDIR="${D}" install || die |
37 |
make DESTDIR="${D}" install || die |
28 |
|
38 |
|