void-packages/srcpkgs/libseccomp/template

31 lines
889 B
Bash

# Template file for 'libseccomp'
pkgname=libseccomp
version=2.5.5
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool gperf"
checkdepends="which"
short_desc="High level interface to the Linux Kernel's seccomp filter"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/seccomp/libseccomp/"
changelog="https://raw.githubusercontent.com/seccomp/libseccomp/main/CHANGELOG"
distfiles="https://github.com/seccomp/${pkgname}/archive/v${version}.tar.gz"
checksum=7082b016d3cbda3e15c0e71ebd018023d693bb7507389b32f943db13f935e01d
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
}
}