wok-current annotate libxml2/receipt @ rev 11482

libxml2: add python as build_depend
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 18 03:01:59 2011 +0100 (2011-12-18)
parents d1768332cee0
children c50f70597a21
rev   line source
pankso@24 1 # SliTaz package receipt.
pankso@24 2
pankso@24 3 PACKAGE="libxml2"
slaxemulator@7345 4 VERSION="2.7.8"
pankso@211 5 CATEGORY="system-tools"
pankso@24 6 SHORT_DESC="Libxml2 is the XML C parser and toolkit."
pankso@24 7 MAINTAINER="pankso@slitaz.org"
pankso@24 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@24 9 WEB_SITE="http://xmlsoft.org/"
pankso@24 10 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
pascal@2475 11 DEPENDS="zlib"
gokhlayeh@11482 12 BUILD_DEPENDS="python"
pankso@24 13
pankso@24 14 # Rules to configure and make the package.
pankso@24 15 #
pankso@24 16 # Note: libxml2 can be build using option --with-minimum
pankso@4828 17 # and binaries are splited into libxml2-tools
pankso@24 18 compile_rules()
pankso@24 19 {
pankso@24 20 cd $src
slaxemulator@9700 21 patch -Np1 -i $stuff/libxml2-fix.patch
pankso@24 22 ./configure \
pankso@670 23 --prefix=/usr \
pankso@670 24 --infodir=/usr/share/info \
pankso@670 25 --mandir=/usr/share/man \
pascal@2504 26 --with-html-dir=/usr/share/doc \
pascal@2475 27 $CONFIGURE_ARGS &&
pascal@2475 28 make &&
pankso@24 29 make DESTDIR=$PWD/_pkg install
pankso@24 30 }
pankso@24 31
pankso@24 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@24 33 genpkg_rules()
pankso@24 34 {
pankso@24 35 mkdir -p $fs/usr/lib
pankso@24 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@24 37 }