summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-selinux/python-selinux-2.8.ebuild')
-rw-r--r--dev-python/python-selinux/python-selinux-2.8.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/python-selinux/python-selinux-2.8.ebuild b/dev-python/python-selinux/python-selinux-2.8.ebuild
new file mode 100644
index 000000000000..f243d4e25d8a
--- /dev/null
+++ b/dev-python/python-selinux/python-selinux-2.8.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.8.ebuild,v 1.1 2003/11/09 19:07:29 method Exp $
+
+DESCRIPTION="Python bindings for SELinux functions"
+HOMEPAGE="http://selinux.dev.gentoo.org/python"
+SRC_URI="http://selinux.dev.gentoo.org/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="x86 ppc sparc"
+IUSE=""
+
+DEPEND="sys-libs/libselinux"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ cd ${S}
+ gcc -shared -o selinux.so -I /usr/include/python2.2/ selinux.c -lselinux || die
+}
+
+src_install() {
+ insinto /usr/lib/python2.2/site-packages
+ doins selinux.so
+}