libxml2: update to 2.9.1.

This commit is contained in:
Juan RP 2013-05-11 10:09:23 +02:00
parent ac73dec35e
commit afc9dc199e

View file

@ -1,7 +1,7 @@
# Template build file for 'libxml2'.
pkgname=libxml2
version=2.8.0
revision=2
version=2.9.1
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-threads --with-history"
makedepends="zlib-devel ncurses-devel readline-devel liblzma-devel python-devel"
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.xmlsoft.org/"
license="MIT"
distfiles="http://xmlsoft.org/sources/$pkgname-$version.tar.gz"
checksum=f2e2d0e322685193d1affec83b21dc05d599e17a7306d7b90de95bb5b9ac622a
checksum=fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb
if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake libtool gettext-devel python-devel"
@ -19,9 +19,7 @@ if [ "$CROSS_BUILD" ]; then
autoreconf -fi
}
pre_build() {
sed -e "s|/usr/\(include/python2.7\)|$XBPS_CROSS_BASE/\1|g" \
-e "s|/usr/\(lib/python2.7/site-packages\)|$XBPS_CROSS_BASE/\1|g" \
-i python/Makefile
sed -e "s|/usr/\(include/python2.7\)|$XBPS_CROSS_BASE/\1|g" -i python/Makefile
}
fi
@ -31,7 +29,7 @@ post_install() {
libxml2-devel_package() {
depends="zlib-devel libxml2>=${version}"
short_desc="${short_desc} -- development files"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/bin/xml2-config
@ -46,7 +44,7 @@ libxml2-devel_package() {
}
libxml2-python_package() {
short_desc="${short_desc} -- python extension"
short_desc+=" - python extension"
pkg_install() {
vmove "usr/lib/python*"
vmove usr/share/doc/${sourcepkg}-python-${version}