libxslt: update to 1.1.34

This commit is contained in:
Nathan Owens 2019-11-11 15:56:22 -06:00 committed by Helmut Pozimski
parent 121b306960
commit 396352ad97

View file

@ -1,16 +1,19 @@
# Template file for 'libxslt'
pkgname=libxslt
version=1.1.33
version=1.1.34
revision=1
build_style=gnu-configure
configure_args="--disable-static"
configure_args="--disable-static --disable-dependency-tracking"
hostmakedepends="libtool"
makedepends="python-devel libxml2-devel libxml2-python libgcrypt-devel"
short_desc="XSLT parser library from the GNOME project"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xmlsoft.org/XSLT/"
distfiles="ftp://xmlsoft.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8e36605144409df979cab43d835002f63988f3dc94d5d3537c12796db90e38c8
distfiles="http://xmlsoft.org/sources/libxslt-${version}.tar.gz
ftp://xmlsoft.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum="98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f
98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f"
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libtool automake gettext-devel ${makedepends}"
@ -21,6 +24,14 @@ if [ "$CROSS_BUILD" ]; then
}
fi
post_configure() {
# Remove missing seperators and errors
# on don't know how to make target, needed
# by Usage:
# Makefile is created after configure so fix here
find ${wrksrc} -type f -name Makefile | xargs sed -i '/Usage/,/--version/d'
}
post_install() {
# Remove references to the install(1) wrapper.
sed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i ${DESTDIR}/usr/bin/xslt-config