35 lines
935 B
Bash
35 lines
935 B
Bash
# Template file for 'pinktrace'
|
|
pkgname=pinktrace
|
|
version=0.9.3
|
|
revision=1
|
|
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 <miwaxe@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://dev.exherbo.org/~alip/pinktrace/"
|
|
distfiles="http://git.exherbo.org/$pkgname-1.git/snapshot/$pkgname-1-$version.tar.gz"
|
|
checksum=260fba87c3c1d8a296295bab9ddaf9ff393f5c961ee7567f86fb5751d9f7a125
|
|
|
|
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"
|
|
}
|
|
}
|