aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsemanage/APKBUILD
blob: e7196a83939a1f6103e22e7a44981ed472b2c949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Tycho Andersen <tycho@docker.com>
# Maintainer: Tycho Andersen <tycho@docker.com>
pkgname=libsemanage
pkgver=2.8
pkgrel=0
pkgdesc="SELinux binary policy manipulation library"
url="https://github.com/SELinuxProject/selinux/wiki"
arch="all"
license="LGPL-2.0-or-later"
makedepends="
	libselinux-dev
	libsepol-dev
	bzip2-dev
	audit-dev
	
	bison
	flex
	python
	"
subpackages="$pkgname-dev $pkgname-doc"
source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libsemanage-$pkgver.tar.gz"
builddir="$srcdir/libsemanage-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="53f09c79da168a79b853f55e0f1c20a96229df9d82929c514bcaf72697446ae836f7f0457fc0056d2418cc6d0712157faf0152881518fe84a1b1b9b9af17e7ef  libsemanage-2.8.tar.gz"