mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 07:11:59 +01:00
30 lines
729 B
Plaintext
30 lines
729 B
Plaintext
# Maintainer: Tycho Andersen <tycho@docker.com>
|
|
pkgname=checkpolicy
|
|
pkgver=2.8
|
|
pkgrel=0
|
|
pkgdesc="SELinux policy checker"
|
|
url="https://selinuxproject.org/"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
makedepends="libsepol-dev bison flex-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/SELinuxProject/selinux/archive/checkpolicy-$pkgver.tar.gz"
|
|
builddir="$srcdir/selinux-checkpolicy-$pkgver/checkpolicy"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make CFLAGS="$CFLAGS -fcommon"
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="67d88c049ef069a73bfc2663b0049d178dd43b0a3b5ca65716793d5f5bf992082aea4d4261d9d3fa0f9ab2dec3fc042c6f9917bceea40007332f9ac74f5bdb32 checkpolicy-2.8.tar.gz"
|