wok-next view libxml2/receipt @ rev 1864

Fix: tls DEPENDS.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Dec 16 01:40:23 2008 +0100 (2008-12-16)
parents 585bd52eb85b
children a714cd6d9d90
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.7.2"
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 }