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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Sep 2 17:41:30 2011 UTC (2 years, 11 months ago) by vapier
Branch: MAIN
Version bump #381467 by teidakankan.  Fixes rpath issues #328467 by William Throwe and multilib issues #339173 by Matt McAdoo.

(Portage version: 2.2.0_alpha51/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.3 2011/07/08 19:41:49 mattst88 Exp $
4
5 EAPI="3"
6
7 inherit multilib eutils toolchain-funcs
8
9 DESCRIPTION="Linux Key Management Utilities"
10 HOMEPAGE="http://people.redhat.com/dhowells/keyutils/"
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.5.3-makefile-fixup.patch
22 sed -i \
23 -e '1iRPATH=' \
24 -e '/^C.*FLAGS/s|:=|+=|' \
25 -e 's:-Werror::' \
26 -e '/^BUILDFOR/s:=.*:=:' \
27 -e "/^LIBDIR/s:=.*:=/usr/$(get_libdir):" \
28 -e '/^USRLIBDIR/s:=.*:=$(LIBDIR):' \
29 Makefile || die
30 }
31
32 src_configure() {
33 tc-export CC
34 }
35
36 src_install() {
37 emake DESTDIR="${ED}" install || die
38 dodoc README
39 gen_usr_ldscript -a keyutils
40 }

  ViewVC Help
Powered by ViewVC 1.1.20