mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
33 lines
842 B
Plaintext
33 lines
842 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libsepol
|
|
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"
|
|
depends_dev="bsd-compat-headers"
|
|
makedepends="$depends_dev flex-dev coreutils"
|
|
options="!check" # tests fail
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libsepol-$pkgver.tar.gz
|
|
"
|
|
builddir="$srcdir/libsepol-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make test
|
|
}
|
|
|
|
sha512sums="dd065886819a265cd4f2751ac231a7baa5d7c7735844f3557d5c7e1feb06d4b4d03433d26ff6419b426caf90b69771ee743850fe45d36bc0201cadb86c62189c libsepol-2.8.tar.gz"
|