wok-stable annotate libxml2/receipt @ rev 1215
Add perdition (pop3/imap proxy)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 09 21:05:27 2008 +0000 (2008-08-09) |
parents | d20580fa5cac |
children | 17d3bc40263d |
rev | line source |
---|---|
pankso@24 | 1 # SliTaz package receipt. |
pankso@24 | 2 |
pankso@24 | 3 PACKAGE="libxml2" |
pankso@569 | 4 VERSION="2.6.32" |
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@670 | 20 --prefix=/usr \ |
pankso@670 | 21 --infodir=/usr/share/info \ |
pankso@670 | 22 --mandir=/usr/share/man \ |
pankso@670 | 23 --with-html-dir=/usr/share/doc |
pankso@24 | 24 $CONFIGURE_ARGS |
pankso@24 | 25 make |
pankso@24 | 26 make DESTDIR=$PWD/_pkg install |
pankso@24 | 27 } |
pankso@24 | 28 |
pankso@24 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@24 | 30 genpkg_rules() |
pankso@24 | 31 { |
pankso@24 | 32 mkdir -p $fs/usr/lib |
pankso@24 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@24 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@670 | 35 rm $fs/usr/bin/xml2-config |
pankso@24 | 36 } |