wok-current view libxml2/receipt @ rev 30
Add : libIDL, libSDL, libtool, linux-headers
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:01:32 2007 +0100 (2007-12-18) |
parents | |
children | cf22fee17710 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.6.30"
5 CATEGORY="extra"
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 }