void-packages/srcpkgs/libseccomp/template
maxice8 7aebe03e1e libseccomp: update to 2.3.3.
Closes: #10683 [via git-merge-pr]
2018-01-19 22:15:55 +01:00

33 lines
883 B
Bash

# Template file for 'libseccomp'
pkgname=libseccomp
version=2.3.3
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="High level interface to the Linux Kernel's seccomp filter"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/seccomp/libseccomp/"
license="LGPL-2.1"
distfiles="https://github.com/seccomp/${pkgname}/archive/v${version}.tar.gz"
checksum=5a52495207f00d1254707f11226e17c16ec53f5038d65bbabf1892873fa2fe5b
post_extract() {
case "$XBPS_TARGET_MACHINE" in
*-musl) sed -i '/<linux\/prctl.h>/d' src/system.h;;
esac
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libseccomp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share/man/man3
}
}