wok-6.x view libxml2/receipt @ rev 2551
Up freeradius-dialupadmin (2.1.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 11:11:26 2009 +0000 (2009-03-26) |
parents | a714cd6d9d90 |
children | 9eb29089cde2 |
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"
11 DEPENDS="zlib"
13 # Rules to configure and make the package.
14 #
15 # Note: libxml2 can be build using option --with-minimum
16 #
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --with-html-dir=/usr/share/doc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 rm $fs/usr/bin/xml2-config
37 }