/[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.1 - (hide annotations) (download)
Sat Mar 31 11:03:18 2012 UTC (2 years, 5 months ago) by swift
Branch: MAIN
Updating SELinux userspace utilities to support pending 2.20120215 policies

(Portage version: 2.1.10.49/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     # $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.1.0.ebuild,v 1.2 2011/10/23 12:39:55 swift Exp $
4    
5     EAPI="2"
6    
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     KEYWORDS="~amd64 ~x86"
16     IUSE=""
17    
18     DEPEND=""
19     RDEPEND=""
20    
21     # tests are not meant to be run outside of the
22     # full SELinux userland repo
23     RESTRICT="test"
24    
25     src_prepare() {
26     # fix up paths for multilib
27     sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" src/Makefile \
28     || die "Fix for multilib LIBDIR failed."
29     sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" src/Makefile \
30     || die "Fix for multilib SHLIBDIR failed."
31     epatch "${FILESDIR}/libsepol-2.1.4-fix_role_fix_callback.patch"
32     }
33    
34     src_compile() {
35     emake AR="$(tc-getAR)" CC="$(tc-getCC)" || die
36     }
37    
38     src_install() {
39     emake DESTDIR="${D}" install || die
40     }

  ViewVC Help
Powered by ViewVC 1.1.20