2012-10-16 11:33:33 +02:00
|
|
|
# Template file for 'libseccomp'
|
|
|
|
pkgname=libseccomp
|
2013-11-13 15:52:48 +01:00
|
|
|
version=2.1.1
|
2013-08-16 09:35:03 +02:00
|
|
|
revision=1
|
2012-10-16 11:33:33 +02:00
|
|
|
build_style=configure
|
|
|
|
configure_args="--prefix=/usr"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="which"
|
2012-10-16 11:33:33 +02: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"
|
2013-11-13 15:52:48 +01:00
|
|
|
checksum=8812c11e407c383f5ad6afb84a88e5a0224477bcfe8ff03f0c548e5abaac841c
|
2012-10-16 11:33:33 +02:00
|
|
|
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 10:15:49 +02:00
|
|
|
|
|
|
|
libseccomp-devel_package() {
|
2013-11-13 15:52:48 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-08-16 09:35:03 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-16 09:35:03 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|