wok-stable annotate libxml2/receipt @ rev 4704
squashfs: version 3 lzma support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 03 21:15:05 2010 +0100 (2010-01-03) |
parents | 9eb29089cde2 |
children | 7afec9d4a03e |
rev | line source |
---|---|
pankso@24 | 1 # SliTaz package receipt. |
pankso@24 | 2 |
pankso@24 | 3 PACKAGE="libxml2" |
pankso@4361 | 4 VERSION="2.7.5" |
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" |
pankso@24 | 12 |
pankso@24 | 13 # Rules to configure and make the package. |
pankso@24 | 14 # |
pankso@24 | 15 # Note: libxml2 can be build using option --with-minimum |
pankso@24 | 16 # |
pankso@24 | 17 compile_rules() |
pankso@24 | 18 { |
pankso@24 | 19 cd $src |
pankso@24 | 20 ./configure \ |
pankso@670 | 21 --prefix=/usr \ |
pankso@670 | 22 --infodir=/usr/share/info \ |
pankso@670 | 23 --mandir=/usr/share/man \ |
pascal@2504 | 24 --with-html-dir=/usr/share/doc \ |
pascal@2475 | 25 $CONFIGURE_ARGS && |
pascal@2475 | 26 make && |
pankso@24 | 27 make DESTDIR=$PWD/_pkg install |
pankso@24 | 28 } |
pankso@24 | 29 |
pankso@24 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@24 | 31 genpkg_rules() |
pankso@24 | 32 { |
pankso@24 | 33 mkdir -p $fs/usr/lib |
pankso@24 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@24 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@670 | 36 rm $fs/usr/bin/xml2-config |
pankso@24 | 37 } |