2014-02-23 13:50:08 +00:00
|
|
|
# Template file for 'xmlsec'
|
|
|
|
pkgname=xmlsec1
|
2014-06-05 09:09:25 +00:00
|
|
|
version=1.2.20
|
|
|
|
revision=1
|
2014-02-23 17:01:48 +00:00
|
|
|
hostmakedepends="libtool pkg-config gnutls-devel"
|
|
|
|
makedepends="libxslt-devel libltdl-devel gnutls-devel"
|
2014-02-23 13:50:08 +00:00
|
|
|
build_style="gnu-configure"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://www.aleksey.com/xmlsec/"
|
2014-02-23 17:01:48 +00:00
|
|
|
short_desc="XML Security Library is a C library based on LibXML2"
|
2014-02-23 13:50:08 +00:00
|
|
|
distfiles="http://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz"
|
2014-06-05 09:09:25 +00:00
|
|
|
checksum=3221593ca50f362b546a0888a1431ad24be1470f96b2469c0e0df5e1c55e7305
|
2014-02-23 13:50:08 +00:00
|
|
|
|
2014-02-23 17:01:48 +00:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
2014-02-23 17:04:17 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
sed -e "s,${XBPS_CROSS_BASE},,g" -i ${DESTDIR}/usr/lib/xmlsec1Conf.sh
|
|
|
|
fi
|
2014-02-23 17:01:48 +00:00
|
|
|
}
|
|
|
|
|
2014-02-23 13:50:08 +00:00
|
|
|
xmlsec1-devel_package() {
|
2014-02-23 17:01:48 +00:00
|
|
|
depends="libxslt-devel libltdl-devel gnutls-devel ${sourcepkg}>=${version}_${revision}"
|
2014-02-23 13:50:08 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
2014-02-23 17:01:48 +00:00
|
|
|
vmove usr/bin/xmlsec1-config
|
|
|
|
vmove usr/share/man/man1/xmlsec1-config.1
|
2014-02-23 13:50:08 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/include
|
2014-02-23 17:01:48 +00:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/xmlsec1Conf.sh
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/share/doc
|
2014-02-23 13:50:08 +00:00
|
|
|
}
|
|
|
|
}
|