2017-07-11 15:11:53 +02:00
|
|
|
# Template file for 'XQilla'
|
|
|
|
pkgname=XQilla
|
|
|
|
version=2.3.3
|
2017-09-01 13:19:08 +02:00
|
|
|
revision=2
|
2017-09-01 21:02:12 +02:00
|
|
|
_xercesc_ver=3.1.4
|
2017-07-11 15:11:53 +02:00
|
|
|
build_style=gnu-configure
|
2017-09-01 21:02:12 +02:00
|
|
|
configure_args="--with-xerces=${XBPS_DESTDIR}/${XBPS_CROSS_TRIPLET}/${pkgname}-${version}/usr"
|
2017-07-11 15:11:53 +02:00
|
|
|
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/"
|
2017-09-01 21:02:12 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/xqilla/${pkgname}-${version}.tar.gz
|
|
|
|
http://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${_xercesc_ver}.tar.bz2"
|
|
|
|
checksum="8f76b9b4f966f315acc2a8e104e426d8a76ba4ea3441b0ecfdd1e39195674fd6
|
|
|
|
9408f12c1628ecf80730bedbe8b2caad810edd01bb4c66f77b60c873e8cc6891"
|
2017-09-01 18:38:50 +02:00
|
|
|
|
2017-07-11 15:11:53 +02:00
|
|
|
pre_configure() {
|
2017-09-01 21:02:12 +02:00
|
|
|
local _args="--prefix=/usr --program-suffix=31"
|
|
|
|
|
|
|
|
msg_normal "Building xerces-c-${_xercesc_ver} on the fly ..."
|
|
|
|
cd ${XBPS_BUILDDIR}/xerces-c-${_xercesc_ver}
|
|
|
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
|
|
_args+=" --host=${XBPS_CROSS_TRIPLET}"
|
|
|
|
fi
|
|
|
|
./configure ${_args}
|
|
|
|
make ${makejobs}
|
|
|
|
make DESTDIR="${DESTDIR}" install
|
|
|
|
|
|
|
|
# Back to XQilla
|
|
|
|
cd ${wrksrc}
|
2017-07-11 15:11:53 +02:00
|
|
|
sed -i "/^LDFLAGS/s:$: $LDFLAGS:" Makefile.in
|
|
|
|
}
|
|
|
|
|
|
|
|
XQilla-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2017-09-01 21:02:12 +02:00
|
|
|
conflicts="xerces-c-devel>=0"
|
2017-07-11 15:11:53 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2017-09-01 21:02:12 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/libxqilla*.so
|
|
|
|
vmove usr/lib/libxqilla*.a
|
|
|
|
vmove usr/lib/libxerces-c.a
|
|
|
|
vmove usr/lib/libxerces-c.so
|
2017-07-11 15:11:53 +02:00
|
|
|
}
|
|
|
|
}
|