wok-next view libxml2/receipt @ rev 8551

imported patch get/fcitx-zm
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 0ec61552352b
children d1768332cee0
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 }