void-packages/srcpkgs/judy/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

30 lines
809 B
Bash

# 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
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"
}
}