void-packages/srcpkgs/judy/template

32 lines
827 B
Bash
Raw Normal View History

2020-08-25 16:47:53 +02:00
# Template file for 'judy'
pkgname=judy
version=1.0.5
revision=1
build_style=gnu-configure
build_helper=qemu
short_desc="C library creating and accessing dynamic arrays"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1-or-later"
homepage="http://judy.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/judy/Judy-${version}.tar.gz"
checksum=d2704089f85fdb6f2cd7e77be21170ced4b4375c03ef1ad4cf1075bd414a63eb
disable_parallel_build=yes
patch_args="-Np1"
if [ "$CROSS_BUILD" ]; then
post_extract() {
sed -i "s|./Judy.TablesGen|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|g" src/*/Makefile.in
}
fi
judy-devel_package() {
depends="judy>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}