40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'xmlsec'
|
|
pkgname=xmlsec1
|
|
version=1.2.22
|
|
revision=1
|
|
hostmakedepends="automake libtool pkg-config gnutls-devel"
|
|
makedepends="libxslt-devel libltdl-devel libgcrypt-devel gnutls-devel"
|
|
build_style="gnu-configure"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://www.aleksey.com/xmlsec/"
|
|
short_desc="XML Security Library is a C library based on LibXML2"
|
|
distfiles="https://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz"
|
|
checksum=8c06bf161c565b907a499e6d906f0b640f063b2b4efd2b471048ac5b3c1ad527
|
|
|
|
pre_configure() {
|
|
autoreconf -if
|
|
}
|
|
|
|
post_install() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -e "s,${XBPS_CROSS_BASE},,g" -i ${DESTDIR}/usr/lib/xmlsec1Conf.sh
|
|
fi
|
|
}
|
|
|
|
xmlsec1-devel_package() {
|
|
depends="libxslt-devel libltdl-devel gnutls-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin/xmlsec1-config
|
|
vmove usr/share/man/man1/xmlsec1-config.1
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/xmlsec1Conf.sh
|
|
vmove usr/share/aclocal
|
|
vmove usr/share/doc
|
|
}
|
|
}
|