/[gentoo-x86]/sys-apps/keyutils/keyutils-1.4-r1.ebuild
Gentoo

Contents of /sys-apps/keyutils/keyutils-1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jul 8 19:41:49 2011 UTC (3 years, 5 months ago) by mattst88
Branch: MAIN
Changes since 1.2: +3 -3 lines
Added ~mips, bug 201744

(Portage version: 2.1.10.3/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/keyutils/keyutils-1.4-r1.ebuild,v 1.2 2010/09/17 09:13:01 haubi Exp $
4
5 EAPI=3
6
7 inherit multilib eutils toolchain-funcs
8
9 DESCRIPTION="Linux Key Management Utilities"
10 HOMEPAGE="http://www.kernel.org/"
11 SRC_URI="http://people.redhat.com/~dhowells/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2 LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
16 IUSE=""
17
18 DEPEND="!prefix? ( >=sys-kernel/linux-headers-2.6.11 )"
19
20 src_prepare() {
21 epatch "${FILESDIR}"/${PN}-1.2-makefile-fixup.patch
22 sed -i \
23 -e '/CFLAGS/s|:= -g -O2|+=|' \
24 Makefile || die
25 }
26
27 src_configure() {
28 :
29 }
30
31 src_compile() {
32 emake \
33 CC="$(tc-getCC)" \
34 CFLAGS="${CFLAGS}" \
35 LDFLAGS="${LDFLAGS}" \
36 || die "emake failed"
37 }
38
39 src_install() {
40 emake \
41 DESTDIR="${ED}" \
42 LIBDIR="/$(get_libdir)" \
43 USRLIBDIR="/usr/$(get_libdir)" \
44 install || die
45 dodoc README
46
47 gen_usr_ldscript libkeyutils.so
48 }

  ViewVC Help
Powered by ViewVC 1.1.20