void-packages/srcpkgs/pinktrace/template
2015-12-19 18:04:35 +01:00

35 lines
935 B
Bash

# Template file for 'pinktrace'
pkgname=pinktrace
version=0.9.2
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=bebc724e3006e5a0f2019cd6ee64c868c835e8a24e69f172397de3a017913f68
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"
}
}