43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# Template file for 'xmlsec1'
|
|
pkgname=xmlsec1
|
|
version=1.3.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libxslt-devel libltdl-devel libgcrypt-devel gnutls-devel
|
|
nspr-devel nss-devel"
|
|
short_desc="XML Security Library is a C library based on LibXML2"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://www.aleksey.com/xmlsec/"
|
|
changelog="https://www.aleksey.com/xmlsec/news.html"
|
|
distfiles="https://github.com/lsh123/xmlsec/releases/download/${version}/xmlsec1-${version}.tar.gz"
|
|
checksum=ab5b9a9ffd6960f46f7466d9d91f174ec37e8c31989237ba6b9eacdd816464f2
|
|
|
|
post_install() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -e "s,${XBPS_CROSS_BASE},,g" -i \
|
|
$DESTDIR/usr/bin/xmlsec1-config \
|
|
$DESTDIR/usr/lib/pkgconfig/xmlsec1-gnutls.pc \
|
|
$DESTDIR/usr/lib/xmlsec1Conf.sh
|
|
fi
|
|
|
|
vlicense COPYING
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|