wok rev 13174
Up: libxml2 to 2.8.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jul 30 04:45:09 2012 +0000 (2012-07-30) |
parents | 1ff754ea8203 |
children | cae46feb2397 |
files | libxml2-dev/receipt libxml2-python/receipt libxml2-tools/receipt libxml2/receipt |
line diff
1.1 --- a/libxml2-dev/receipt Mon Jul 30 04:43:16 2012 +0000 1.2 +++ b/libxml2-dev/receipt Mon Jul 30 04:45:09 2012 +0000 1.3 @@ -1,25 +1,25 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libxml2-dev" 1.7 -VERSION="2.7.8" 1.8 +VERSION="2.8.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="XML C parser and toolkit devel files." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 WANTED="libxml2" 1.13 +DEPENDS="libxml2-tools" 1.14 WEB_SITE="http://xmlsoft.org/" 1.15 -HOST_ARCH="i486 arm" 1.16 - 1.17 -DEPENDS="libxml2-tools" 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share 1.23 + 1.24 cp -a $install/usr/bin/xml2-config $fs/usr/bin 1.25 cp -a $install/usr/lib/*.sh $fs/usr/bin 1.26 + chmod +x $fs/usr/bin/*.sh 1.27 + 1.28 cp -a $install/usr/lib/*.*a $fs/usr/lib 1.29 cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.30 cp -a $install/usr/include $fs/usr 1.31 cp -a $install/usr/share/aclocal $fs/usr/share 1.32 - chmod +x $fs/usr/bin/*.sh 1.33 }
2.1 --- a/libxml2-python/receipt Mon Jul 30 04:43:16 2012 +0000 2.2 +++ b/libxml2-python/receipt Mon Jul 30 04:45:09 2012 +0000 2.3 @@ -1,27 +1,19 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="libxml2-python" 2.7 -VERSION="2.6.15" 2.8 +VERSION="2.8.0" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Libxml2 adapter for the Python." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 -TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 WEB_SITE="http://xmlsoft.org/" 2.14 -WGET_URL="ftp://xmlsoft.org/libxml2/python/$TARBALL" 2.15 +WANTED="libxml2" 2.16 + 2.17 DEPENDS="python libxml2 libxslt" 2.18 -BUILD_DEPENDS="python python-dev libxml2-dev" 2.19 - 2.20 -# Rules to configure and make the package. 2.21 -compile_rules() 2.22 -{ 2.23 - cd $src 2.24 - python setup.py build && 2.25 - python setup.py install --root=$PWD/_pkg 2.26 -} 2.27 2.28 # Rules to gen a SliTaz package suitable for Tazpkg. 2.29 genpkg_rules() 2.30 { 2.31 - cp -a $_pkg/usr $fs 2.32 + mkdir -p $fs/usr/lib 2.33 + cp -a $install/usr/lib/python* $fs/usr/lib 2.34 } 2.35
3.1 --- a/libxml2-tools/receipt Mon Jul 30 04:43:16 2012 +0000 3.2 +++ b/libxml2-tools/receipt Mon Jul 30 04:45:09 2012 +0000 3.3 @@ -1,15 +1,13 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="libxml2-tools" 3.7 -VERSION="2.7.8" 3.8 +VERSION="2.8.0" 3.9 CATEGORY="system-tools" 3.10 SHORT_DESC="The xmllint tester and xmlcatalog parser utility." 3.11 MAINTAINER="pankso@slitaz.org" 3.12 WEB_SITE="http://xmlsoft.org/" 3.13 +DEPENDS="libxml2" 3.14 WANTED="libxml2" 3.15 -HOST_ARCH="i486 arm" 3.16 - 3.17 -DEPENDS="libxml2" 3.18 3.19 # Rules to gen a SliTaz package suitable for Tazpkg. 3.20 genpkg_rules()
4.1 --- a/libxml2/receipt Mon Jul 30 04:43:16 2012 +0000 4.2 +++ b/libxml2/receipt Mon Jul 30 04:45:09 2012 +0000 4.3 @@ -1,23 +1,15 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="libxml2" 4.7 -VERSION="2.7.8" 4.8 +VERSION="2.8.0" 4.9 CATEGORY="system-tools" 4.10 SHORT_DESC="Libxml2 is the XML C parser and toolkit." 4.11 MAINTAINER="pankso@slitaz.org" 4.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.13 WEB_SITE="http://xmlsoft.org/" 4.14 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL" 4.15 -HOST_ARCH="i486 arm" 4.16 - 4.17 DEPENDS="zlib" 4.18 -BUILD_DEPENDS="python" 4.19 - 4.20 -# When cross compiling Python is installed in chroot and is used 4.21 -# by cross tools, cook dont need to install it in /usr/cross/arm 4.22 -case "$ARCH" in 4.23 - arm) BUILD_DEPENDS="" ;; 4.24 -esac 4.25 +BUILD_DEPENDS="zlib-dev python-dev" 4.26 4.27 # Rules to configure and make the package. 4.28 # 4.29 @@ -26,10 +18,17 @@ 4.30 compile_rules() 4.31 { 4.32 cd $src 4.33 - patch -Np1 -i $stuff/libxml2-fix.patch 4.34 + autoreconf -fi 4.35 ./configure \ 4.36 - $CONFIGURE_ARGS && 4.37 - make && make install 4.38 + --prefix=/usr \ 4.39 + --infodir=/usr/share/info \ 4.40 + --mandir=/usr/share/man \ 4.41 + --with-html-dir=/usr/share/doc \ 4.42 + --with-threads \ 4.43 + --with-history \ 4.44 + $CONFIGURE_ARGS && 4.45 + make && 4.46 + make DESTDIR=$DESTDIR install 4.47 } 4.48 4.49 # Rules to gen a SliTaz package suitable for Tazpkg.