wok-current diff libxml2/receipt @ rev 164
Add gimp.desktop for freedesktop menu
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 28 21:00:10 2008 +0100 (2008-01-28) |
parents | |
children | cf22fee17710 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libxml2/receipt Mon Jan 28 21:00:10 2008 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libxml2" 1.7 +VERSION="2.6.30" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="Libxml2 is the XML C parser and toolkit." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://xmlsoft.org/" 1.13 +WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +# 1.17 +# Note: libxml2 can be build using option --with-minimum 1.18 +# 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure \ 1.23 + --prefix=/usr --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man --with-html-dir=/usr/share/doc 1.25 + $CONFIGURE_ARGS 1.26 + make 1.27 + make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib 1.34 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.35 + cp -a $_pkg/usr/bin $fs/usr 1.36 + strip -s $fs/usr/lib/* 1.37 + strip -s $fs/usr/bin/* 2>/dev/null 1.38 +}