wok view libxml2/receipt @ rev 10228

Up: libtorrent-rasterbar to 0.15.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 00:20:08 2011 +0000 (2011-05-21)
parents bc1599ffa221
children 4c7e8355c655
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.7.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Libxml2 is the XML C parser and toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://xmlsoft.org/"
10 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
11 DEPENDS="zlib"
13 # Rules to configure and make the package.
14 #
15 # Note: libxml2 can be build using option --with-minimum
16 # and binaries are splited into libxml2-tools
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/libxml2-fix.patch
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --with-html-dir=/usr/share/doc \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }