void-packages/srcpkgs/sydbox/template

35 lines
904 B
Bash

# Template file for 'sydbox'
pkgname=sydbox
version=2.2.0
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config libtool"
makedepends="pinktrace-devel libseccomp-devel"
short_desc="Utility for ptrace() sandboxing"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
homepage="https://sydbox.exherbolinux.org"
distfiles="https://gitlab.exherbo.org/sydbox/sydbox-1/-/archive/v${version}/sydbox-1-v${version}.tar.gz"
checksum=681e44816f2780f9b45a2ef601acc4174bc8336277ea6b9015aad8213b93e3c0
# needs perlful grep which breaks masterdir
make_check=no
nocross="unable to properly check if seccomp is supported"
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}
sydbox-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}