void-packages/srcpkgs/libseccomp/template

24 lines
712 B
Bash

# Template file for 'libseccomp'
pkgname=libseccomp
version=2.1.1
revision=2
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="which"
short_desc="High level interface to the Linux Kernel's seccomp filter"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://sourceforge.net/projects/libseccomp/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8812c11e407c383f5ad6afb84a88e5a0224477bcfe8ff03f0c548e5abaac841c
libseccomp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share
}
}