aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/libsepol/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/libsepol/APKBUILD b/community/libsepol/APKBUILD
new file mode 100644
index 0000000000..d8310350ac
--- /dev/null
+++ b/community/libsepol/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libsepol
+pkgver=2.6
+pkgrel=1
+pkgdesc="SELinux binary policy manipulation library"
+url="https://github.com/SELinuxProject/selinux/wiki"
+arch="all"
+license="LGPL-2.0-or-later"
+depends=""
+depends_dev="bsd-compat-headers"
+makedepends="$depends_dev flex-dev coreutils"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/libsepol-$pkgver.tar.gz
+ "
+builddir="$srcdir/libsepol-$pkgver"
+
+build() {
+ cd "$builddir"
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+sha512sums="17d007857634e3d581fcc9bafcbb75674a06e382bb258c2c6b3656c141d71493699c42b78c8e1917c628476aeb8ead73bb86e8ccf43d7ce59aa0b7884bea132a libsepol-2.6.tar.gz"