wok-4.x view libxml2/receipt @ rev 1175

Add Python bindings for cairo, GTK, GObject.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Aug 02 14:05:35 2008 +0200 (2008-08-02)
parents d20580fa5cac
children 17d3bc40263d
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.6.32"
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"
12 # Rules to configure and make the package.
13 #
14 # Note: libxml2 can be build using option --with-minimum
15 #
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 rm $fs/usr/bin/xml2-config
36 }