wok-6.x annotate libxml2/receipt @ rev 24

Add : lighttpd Web server with stuff
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 13:51:14 2007 +0100 (2007-12-18)
parents
children cf22fee17710
rev   line source
pankso@24 1 # SliTaz package receipt.
pankso@24 2
pankso@24 3 PACKAGE="libxml2"
pankso@24 4 VERSION="2.6.30"
pankso@24 5 CATEGORY="extra"
pankso@24 6 SHORT_DESC="Libxml2 is the XML C parser and toolkit."
pankso@24 7 MAINTAINER="pankso@slitaz.org"
pankso@24 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@24 9 WEB_SITE="http://xmlsoft.org/"
pankso@24 10 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
pankso@24 11
pankso@24 12 # Rules to configure and make the package.
pankso@24 13 #
pankso@24 14 # Note: libxml2 can be build using option --with-minimum
pankso@24 15 #
pankso@24 16 compile_rules()
pankso@24 17 {
pankso@24 18 cd $src
pankso@24 19 ./configure \
pankso@24 20 --prefix=/usr --infodir=/usr/share/info \
pankso@24 21 --mandir=/usr/share/man --with-html-dir=/usr/share/doc
pankso@24 22 $CONFIGURE_ARGS
pankso@24 23 make
pankso@24 24 make DESTDIR=$PWD/_pkg install
pankso@24 25 }
pankso@24 26
pankso@24 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@24 28 genpkg_rules()
pankso@24 29 {
pankso@24 30 mkdir -p $fs/usr/lib
pankso@24 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@24 32 cp -a $_pkg/usr/bin $fs/usr
pankso@24 33 strip -s $fs/usr/lib/*
pankso@24 34 strip -s $fs/usr/bin/* 2>/dev/null
pankso@24 35 }