wok-next diff libxml2/receipt @ rev 13306
Move to wok shake
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 29 10:48:43 2012 +0200 (2012-08-29) |
parents | c50f70597a21 |
children | 8b30da0aa071 |
line diff
1.1 --- a/libxml2/receipt Mon May 21 01:58:24 2012 +0200 1.2 +++ b/libxml2/receipt Wed Aug 29 10:48:43 2012 +0200 1.3 @@ -1,23 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libxml2" 1.7 -VERSION="2.7.8" 1.8 +VERSION="2.8.0" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Libxml2 is the XML C parser and toolkit." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 WEB_SITE="http://xmlsoft.org/" 1.14 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL" 1.15 -HOST_ARCH="i486 arm" 1.16 - 1.17 DEPENDS="zlib" 1.18 -BUILD_DEPENDS="python" 1.19 - 1.20 -# When cross compiling Python is installed in chroot and is used 1.21 -# by cross tools, cook dont need to install it in /usr/cross/arm 1.22 -case "$ARCH" in 1.23 - arm) BUILD_DEPENDS="" ;; 1.24 -esac 1.25 +BUILD_DEPENDS="zlib-dev python-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 # 1.29 @@ -26,10 +18,17 @@ 1.30 compile_rules() 1.31 { 1.32 cd $src 1.33 - patch -Np1 -i $stuff/libxml2-fix.patch 1.34 + autoreconf -fi 1.35 ./configure \ 1.36 - $CONFIGURE_ARGS && 1.37 - make && make install 1.38 + --prefix=/usr \ 1.39 + --infodir=/usr/share/info \ 1.40 + --mandir=/usr/share/man \ 1.41 + --with-html-dir=/usr/share/doc \ 1.42 + --with-threads \ 1.43 + --with-history \ 1.44 + $CONFIGURE_ARGS && 1.45 + make && 1.46 + make DESTDIR=$DESTDIR install 1.47 } 1.48 1.49 # Rules to gen a SliTaz package suitable for Tazpkg.