30 lines
809 B
Bash
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"
|
|
}
|
|
}
|