38 lines
926 B
Bash
38 lines
926 B
Bash
|
# Template file for 'pinktrace'
|
||
|
pkgname=pinktrace
|
||
|
version=0.9.1
|
||
|
revision=1
|
||
|
wrksrc="$pkgname-1-$version"
|
||
|
build_style=gnu-configure
|
||
|
configure_args="--enable-python"
|
||
|
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=04394d69d24fbfb6e7ba42ecfc21e3426359c8d0d7f90d39cc043359b2c74dc8
|
||
|
|
||
|
build_pie=yes
|
||
|
only_for_archs="x86_64-musl x86_64 i686 i686-musl"
|
||
|
|
||
|
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"
|
||
|
}
|
||
|
}
|