39 lines
927 B
Bash
39 lines
927 B
Bash
# Template file for 'pinktrace'
|
|
pkgname=sydbox
|
|
version=1.0.3
|
|
revision=2
|
|
wrksrc="$pkgname-1-$version"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake pkg-config libtool pinktrace-devel"
|
|
makedepends="pinktrace-devel"
|
|
short_desc="A ptrace() sandbox utility"
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
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=0b12475fff909fc55840dc074013b1e68b5cd0713af8666744f3a6cda0ad4942
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
# no seccomp for arm
|
|
arm*) ;;
|
|
*) 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"
|
|
}
|
|
}
|