Lines 2-19
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/keyutils/keyutils-1.0.ebuild,v 1.1 2005/12/15 00:16:58 robbat2 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.0.ebuild,v 1.1 2005/12/15 00:16:58 robbat2 Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils |
6 |
|
5 |
DESCRIPTION="Linux Key Management Utilities" |
7 |
DESCRIPTION="Linux Key Management Utilities" |
6 |
HOMEPAGE="http://www.kernel.org/" |
8 |
HOMEPAGE="http://www.kernel.org/" |
7 |
SRC_URI="http://people.redhat.com/~dhowells/${PN}/${P}.tar.bz2" |
9 |
SRC_URI="http://people.redhat.com/~dhowells/${PN}/${P}.tar.bz2" |
8 |
LICENSE="GPL-2 LGPL-2.1" |
10 |
LICENSE="GPL-2 LGPL-2.1" |
9 |
SLOT="0" |
11 |
SLOT="0" |
10 |
KEYWORDS="~x86" |
12 |
KEYWORDS="~x86" |
11 |
IUSE="" |
13 |
IUSE="static" |
12 |
DEPEND=">=sys-kernel/linux-headers-2.6.11" |
14 |
DEPEND=">=sys-kernel/linux-headers-2.6.11" |
13 |
#RDEPEND="" |
15 |
#RDEPEND="" |
14 |
|
16 |
|
|
|
17 |
src_unpack() { |
18 |
unpack ${A} |
19 |
cd "${S}" |
20 |
epatch "${FILESDIR}/${P}-static.patch" |
21 |
} |
22 |
|
15 |
src_compile() { |
23 |
src_compile() { |
16 |
make CFLAGS="-Wall ${CFLAGS}" |
24 |
if use static; then |
|
|
25 |
CFLAGS_STATIC="-static" |
26 |
fi |
27 |
make CFLAGS="-Wall ${CFLAGS}" CFLAGS_STATIC="${CFLAGS_STATIC}" |
17 |
} |
28 |
} |
18 |
|
29 |
|
19 |
src_install() { |
30 |
src_install() { |