aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsepol/APKBUILD
blob: 3aa9ca63ec254607b79b93e3687b72d9d0e70159 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsepol
pkgver=2.5
pkgrel=0
pkgdesc="SELinux binary policy manipulation library "
url="https://github.com/SELinuxProject/selinux/wiki"
arch="all"
license="LGPLv2+"
depends=""
depends_dev="bsd-compat-headers"
makedepends="$depends_dev flex-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/libsepol-$pkgver.tar.gz
	symlink.patch
	"
builddir="$srcdir/libsepol-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

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

md5sums="5b18e0e1e50bdf648c2c42241c42052c  libsepol-2.5.tar.gz
a6e22cdf108cf9cb71e8286b2890f590  symlink.patch"
sha256sums="2bdeec56d0a08b082b93b40703b4b3329cc5562152f7254d8f6ef6b56afe850a  libsepol-2.5.tar.gz
65b701a3c611e9f5187e8d226a86c94faef59be18a72efb8721895985834dcbc  symlink.patch"
sha512sums="ea781a9a61ee7036abd221422f411451e15d01202de64b167c61886644d6e9ec81916dd770bc644ba2453ff177ac91f280be63df0e20b469b4f778ce3bfdedd9  libsepol-2.5.tar.gz
e9c3d2b09963c4a7b2a82fe8150e5cbc1497305eec4cad4cd61f1f5466a6fc0f495d13efeef834c14ab0c8b3b6e034a4616038ff4b3e96e9373c68a5b30d843d  symlink.patch"