wok-current view libxml2/receipt @ rev 569

Up: libxml2 (2.6.32)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 15:06:52 2008 +0200 (2008-04-14)
parents cf22fee17710
children 585bd52eb85b
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 --infodir=/usr/share/info \
21 --mandir=/usr/share/man --with-html-dir=/usr/share/doc
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 strip -s $fs/usr/lib/*
34 strip -s $fs/usr/bin/* 2>/dev/null
35 }