/[gentoo-x86]/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild
Gentoo

Contents of /sys-libs/libsepol/libsepol-2.1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Oct 3 20:34:13 2012 UTC (23 months, 2 weeks ago) by vapier
Branch: MAIN
Changes since 1.2: +8 -17 lines
Update to EAPI=4.

(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)

1 swift 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 vapier 1.3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild,v 1.2 2012/04/29 10:07:40 swift Exp $
4 swift 1.1
5 vapier 1.3 EAPI="4"
6 swift 1.1
7     inherit multilib toolchain-funcs eutils
8    
9     DESCRIPTION="SELinux binary policy representation library"
10     HOMEPAGE="http://userspace.selinuxproject.org"
11     SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 swift 1.2 KEYWORDS="amd64 x86"
16 swift 1.1 IUSE=""
17    
18     # tests are not meant to be run outside of the
19     # full SELinux userland repo
20     RESTRICT="test"
21    
22     src_prepare() {
23     # fix up paths for multilib
24 vapier 1.3 sed -i \
25     -e "/^LIBDIR/s/lib/$(get_libdir)/" \
26     -e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
27     -e 's:\<ranlib\>:$(RANLIB):' \
28     src/Makefile || die
29 swift 1.1 epatch "${FILESDIR}/libsepol-2.1.4-fix_role_fix_callback.patch"
30 vapier 1.3 tc-export AR CC RANLIB
31 swift 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20