38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Template file for 'pinktrace'
|
|
pkgname=pinktrace
|
|
version=1.0.0
|
|
revision=1
|
|
# arch list taken from https://dev.exherbo.org/~alip/pinktrace/#supported_platforms
|
|
archs="x86_64* aarch64* i686* ppc*"
|
|
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=a963359c3a66d31f8ac5b75cdc41ff0c4886df48609338771a2016c712b2f48a
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|