wok-next view libxml2/receipt @ rev 2341

boxbackup-client: improve start script
author Dominique Corbex <domcox@users.sourceforge.net>
date Mon Mar 02 19:42:33 2009 +0100 (2009-03-02)
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 }