wok-4.x annotate libxml2/receipt @ rev 211
Most categorie are OK... (no more extra)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 13 15:26:29 2008 +0100 (2008-02-13) |
parents | 8a16d292a7d3 |
children | d20580fa5cac |
rev | line source |
---|---|
pankso@24 | 1 # SliTaz package receipt. |
pankso@24 | 2 |
pankso@24 | 3 PACKAGE="libxml2" |
pankso@24 | 4 VERSION="2.6.30" |
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" |
pankso@24 | 11 |
pankso@24 | 12 # Rules to configure and make the package. |
pankso@24 | 13 # |
pankso@24 | 14 # Note: libxml2 can be build using option --with-minimum |
pankso@24 | 15 # |
pankso@24 | 16 compile_rules() |
pankso@24 | 17 { |
pankso@24 | 18 cd $src |
pankso@24 | 19 ./configure \ |
pankso@24 | 20 --prefix=/usr --infodir=/usr/share/info \ |
pankso@24 | 21 --mandir=/usr/share/man --with-html-dir=/usr/share/doc |
pankso@24 | 22 $CONFIGURE_ARGS |
pankso@24 | 23 make |
pankso@24 | 24 make DESTDIR=$PWD/_pkg install |
pankso@24 | 25 } |
pankso@24 | 26 |
pankso@24 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@24 | 28 genpkg_rules() |
pankso@24 | 29 { |
pankso@24 | 30 mkdir -p $fs/usr/lib |
pankso@24 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@24 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@24 | 33 strip -s $fs/usr/lib/* |
pankso@24 | 34 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@24 | 35 } |