2012-10-16 09:33:33 +00:00
|
|
|
# Template file for 'libseccomp'
|
|
|
|
pkgname=libseccomp
|
|
|
|
version=1.0.0
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=2
|
2012-10-16 09:33:33 +00:00
|
|
|
build_style=configure
|
|
|
|
configure_args="--prefix=/usr"
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="which"
|
2012-10-16 09:33:33 +00:00
|
|
|
short_desc="High level interface to the Linux Kernel's seccomp filter"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://sourceforge.net/projects/libseccomp/"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=7c35493c890af509955397ea1f5d3c1a8e84a3002a64fa8c716de395e117cc4c
|
|
|
|
long_desc="
|
|
|
|
The libseccomp library provides and easy to use, platform independent,
|
|
|
|
interface to the Linux Kernel's syscall filtering mechanism: seccomp.
|
|
|
|
The libseccomp API is designed to abstract away the underlying BPF based
|
|
|
|
syscall filter language and present a more conventional function-call
|
|
|
|
based filtering interface that should be familiar to, and easily adopted
|
|
|
|
by application developers."
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libseccomp-devel_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libseccomp_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|