/[gentoo-x86]/dev-python/python-selinux/python-selinux-2.16-r3.ebuild
Gentoo

Contents of /dev-python/python-selinux/python-selinux-2.16-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Mar 18 02:02:11 2011 UTC (3 years, 1 month ago) by blueness
Branch: MAIN
Fix bug #355675

(Portage version: 2.1.9.42/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/dev-python/python-selinux/python-selinux-2.16-r2.ebuild,v 1.5 2011/02/08 17:47:41 arfrever Exp $
4
5 EAPI="2"
6
7 PYTHON_DEPEND="2"
8
9 inherit python eutils
10
11 DESCRIPTION="Extra python bindings for SELinux functions"
12 HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
13 LICENSE="GPL-2"
14 SLOT="0"
15 SRC_URI="mirror://gentoo/${P}-1.tar.bz2"
16
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 DEPEND=">=sys-libs/libselinux-1.28-r1"
21 RDEPEND="${DEPEND}"
22
23 S=${WORKDIR}/${PN}
24
25 pkg_setup() {
26 python_set_active_version 2
27 python_pkg_setup
28 }
29
30 src_prepare() {
31 epatch "${FILESDIR}/respect-LDFLAGS.patch"
32 }
33
34 src_compile() {
35 emake PYVER="$(python_get_version)" || die
36 }
37
38 src_install() {
39 python_need_rebuild
40 make DESTDIR="${D}" PYVER="$(python_get_version)" install || die
41 }

  ViewVC Help
Powered by ViewVC 1.1.20