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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Aug 15 20:43:21 2010 UTC (4 years, 9 months ago) by truedfx
Branch: MAIN
Changes since 1.2: +2 -2 lines
Fix quoting
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.ebuild,v 1.2 2010/07/04 21:09:25 vapier Exp $
4
5 inherit multilib eutils toolchain-funcs
6
7 DESCRIPTION="Linux Key Management Utilities"
8 HOMEPAGE="http://www.kernel.org/"
9 SRC_URI="http://people.redhat.com/~dhowells/${PN}/${P}.tar.bz2"
10
11 LICENSE="GPL-2 LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
14 IUSE=""
15
16 DEPEND=">=sys-kernel/linux-headers-2.6.11"
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
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_compile() {
28 emake \
29 CC="$(tc-getCC)" \
30 CFLAGS="${CFLAGS}" \
31 LDFLAGS="${LDFLAGS}" \
32 || die "emake failed"
33 }
34
35 src_install() {
36 emake \
37 DESTDIR="${D}" \
38 LIBDIR="/$(get_libdir)" \
39 USRLIBDIR="/usr/$(get_libdir)" \
40 install || die
41 dodoc README
42
43 gen_usr_ldscript libkeyutils.so
44 }

  ViewVC Help
Powered by ViewVC 1.1.20