diff options
author | Tycho Andersen <tycho@docker.com> | 2017-03-14 21:08:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-03-16 10:06:43 +0000 |
commit | 6ea01c2b7f22db87a0259a1bc53e249427a7cf0f (patch) | |
tree | 663481d2610473b22eddbd58389ffad3107f214f /testing/libsemanage/APKBUILD | |
parent | b336118caf32616d8c5cf69c2eaf38683685898b (diff) | |
download | aports-6ea01c2b7f22db87a0259a1bc53e249427a7cf0f.tar.bz2 aports-6ea01c2b7f22db87a0259a1bc53e249427a7cf0f.tar.xz |
testing/libsemanage: initial import
Signed-off-by: Tycho Andersen <tycho@docker.com>
Diffstat (limited to 'testing/libsemanage/APKBUILD')
-rw-r--r-- | testing/libsemanage/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/libsemanage/APKBUILD b/testing/libsemanage/APKBUILD new file mode 100644 index 0000000000..d4f2278df4 --- /dev/null +++ b/testing/libsemanage/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Tycho Andersen <tycho@docker.com> +# Maintainer: Tycho Andersen <tycho@docker.com> +pkgname=libsemanage +pkgver=2.6 +pkgrel=0 +pkgdesc="SELinux binary policy manipulation library " +url="https://github.com/SELinuxProject/selinux/wiki" +arch="all" +license="LGPLv2+" +depends="" +depends_dev="" +makedepends="$depends_dev libselinux-dev libsepol-dev bzip2-dev ustr-dev bison flex" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/libsemanage-$pkgver.tar.gz + 0001-libsemanage-remove-use-of-getpwent_r.patch" +builddir="$srcdir/libsemanage-$pkgver" + +build() { + cd "$builddir" + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +sha512sums="38741d6e6f7a2669bfeee362e42d6bfd720cceeaf61331e329b2210fdc070444e529656ce86dd82e94aa248eafcfaea4c5d013d9cce76c1039be6fc6a6b2c790 libsemanage-2.6.tar.gz +ef5040bc015673266fc46284a8dc84b3316d6dd7bcc3a2c4ba4dd6e2d35a0d0c6984e72648c60739e4d97570941b7da07a6a2c98959c3b446bc0cae706d23441 0001-libsemanage-remove-use-of-getpwent_r.patch" |