38 lines
969 B
Bash
38 lines
969 B
Bash
# Template file for 'sydbox'
|
|
pkgname=sydbox
|
|
version=1.1.0
|
|
revision=1
|
|
wrksrc="$pkgname-1-$version"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake pkg-config libtool pinktrace-devel"
|
|
makedepends="pinktrace-devel"
|
|
short_desc="Utility for ptrace() sandboxing"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="MIT"
|
|
homepage="http://dev.exherbo.org/~alip/sydbox/sydbox.html"
|
|
distfiles="http://git.exherbo.org/$pkgname-1.git/snapshot/$pkgname-1-$version.tar.gz"
|
|
checksum=765fd5ce4b3a48270c7ea7b8b3d0dbf43f103ce0214c1ae7126579310f571bd2
|
|
python_version=2 #unverified
|
|
|
|
# seccomp only implemented on x86
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*) configure_args+=" --enable-seccomp" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYRIGHT
|
|
}
|
|
|
|
sydbox-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|