383537de1e
This has the side effect of disabling the build for aarch64, which was previously not restricted in the template but wasn't available in repos anyway (builder scheduling issues led to it not being noticed).
37 lines
1 KiB
Bash
37 lines
1 KiB
Bash
# Template file for 'pinktrace'
|
|
pkgname=pinktrace
|
|
version=0.9.6
|
|
revision=1
|
|
# arch list taken from https://dev.exherbo.org/~alip/pinktrace/#supported_platforms
|
|
archs="x86_64* i686* ppc* arm*"
|
|
wrksrc="$pkgname-1-$version"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-python"
|
|
make_build_args="PYTHON_CFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
|
hostmakedepends="automake pkg-config libtool python"
|
|
makedepends="python-devel"
|
|
short_desc="A ptrace() wrapper library"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="MIT"
|
|
homepage="http://dev.exherbo.org/~alip/pinktrace/"
|
|
distfiles="http://git.exherbo.org/$pkgname-1.git/snapshot/$pkgname-1-$version.tar.gz"
|
|
checksum=5d2670607f70da397c6da06fbb1844020b44b63c8aea8a725771aac02235b27a
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYRIGHT
|
|
}
|
|
|
|
pinktrace-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|