38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Template file for 'pinktrace'
|
|
pkgname=pinktrace
|
|
version=1.0.0
|
|
revision=2
|
|
# arch list taken from https://dev.exherbo.org/~alip/pinktrace/#supported_platforms
|
|
archs="x86_64* aarch64* i686* ppc*"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-python"
|
|
make_build_args="PYTHON_CFLAGS=-I${XBPS_CROSS_BASE}/${py3_inc}"
|
|
hostmakedepends="automake pkg-config libtool python3"
|
|
makedepends="python3-devel"
|
|
short_desc="Ptrace() wrapper library"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="MIT"
|
|
homepage="https://gitlab.exherbo.org/sydbox/pinktrace-1"
|
|
distfiles="https://gitlab.exherbo.org/sydbox/pinktrace-1/-/archive/v${version}/pinktrace-1-v${version}.tar.gz"
|
|
checksum=1f6675be8d023863546c125a695a1e5b0e0f9a9d72949794ae6fac35db1f41c6
|
|
make_check=no
|
|
|
|
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"
|
|
}
|
|
}
|