wok-4.x annotate libparserutils/receipt @ rev 2824

Add libparserutils (parser library)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 29 21:29:51 2009 +0200 (2009-04-29)
parents
children b537813316cf
rev   line source
pankso@2824 1 # SliTaz package receipt.
pankso@2824 2
pankso@2824 3 PACKAGE="libparserutils"
pankso@2824 4 VERSION="7369"
pankso@2824 5 CATEGORY="system-tools"
pankso@2824 6 SHORT_DESC="Various pieces of functionality that are useful for parsers."
pankso@2824 7 MAINTAINER="pankso@slitaz.org"
pankso@2824 8 WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
pankso@2824 9 BUILD_DEPENDS="subversion"
pankso@2824 10
pankso@2824 11 # Rules to configure and make the package.
pankso@2824 12 compile_rules()
pankso@2824 13 {
pankso@2824 14 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pankso@2824 15 svn co svn://svn.netsurf-browser.org/trunk/libparserutils \
pankso@2824 16 -r $VERSION $PACKAGE-$VERSION
pankso@2824 17 cd $src
pankso@2824 18 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
pankso@2824 19 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
pankso@2824 20 }
pankso@2824 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2824 22 genpkg_rules()
pankso@2824 23 {
pankso@2824 24 mkdir -p $fs/usr/lib
pankso@2824 25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2824 26 }