void-packages/srcpkgs/XQilla/template

28 lines
756 B
Bash

# Template file for 'XQilla'
pkgname=XQilla
version=2.3.3
revision=1
build_style=gnu-configure
configure_args="--with-xerces=${XBPS_CROSS_BASE}/usr"
makedepends="libxerces-c-devel"
short_desc="XQuery and XPath2 library and command line utility"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="http://xqilla.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/xqilla/${pkgname}-${version}.tar.gz"
checksum=8f76b9b4f966f315acc2a8e104e426d8a76ba4ea3441b0ecfdd1e39195674fd6
pre_configure() {
sed -i "/^LDFLAGS/s:$: $LDFLAGS:" Makefile.in
}
XQilla-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
}
}