wok-next annotate 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 |
rev | line source |
---|---|
pankso@24 | 1 # SliTaz package receipt. |
pankso@24 | 2 |
pankso@24 | 3 PACKAGE="libxml2" |
slaxemulator@13174 | 4 VERSION="2.8.0" |
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" |
slaxemulator@13174 | 12 BUILD_DEPENDS="zlib-dev python-dev" |
pankso@12817 | 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@13174 | 21 autoreconf -fi |
pankso@24 | 22 ./configure \ |
slaxemulator@13174 | 23 --prefix=/usr \ |
slaxemulator@13174 | 24 --infodir=/usr/share/info \ |
slaxemulator@13174 | 25 --mandir=/usr/share/man \ |
slaxemulator@13174 | 26 --with-html-dir=/usr/share/doc \ |
slaxemulator@13174 | 27 --with-threads \ |
slaxemulator@13174 | 28 --with-history \ |
slaxemulator@13174 | 29 $CONFIGURE_ARGS && |
slaxemulator@13174 | 30 make && |
slaxemulator@13174 | 31 make DESTDIR=$DESTDIR install |
pankso@24 | 32 } |
pankso@24 | 33 |
pankso@24 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@24 | 35 genpkg_rules() |
pankso@24 | 36 { |
pankso@24 | 37 mkdir -p $fs/usr/lib |
pankso@12817 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@24 | 39 } |