28 lines
784 B
Bash
28 lines
784 B
Bash
# Template file for 'libsepol'
|
|
pkgname=libsepol
|
|
version=3.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_install_args=SHLIBDIR=/usr/lib
|
|
hostmakedepends="flex"
|
|
short_desc="SELinux binary policy manipulation library"
|
|
maintainer="Anjandev Momi <anjan@momi.ca>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://userspace.selinuxproject.org"
|
|
distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz"
|
|
checksum=5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
libsepol-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/share/man/man3
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|