wok-current diff libparserutils/receipt @ rev 5264

Up: cmake (2.6.4)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 13 23:50:01 2010 +0200 (2010-04-13)
parents
children b537813316cf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libparserutils/receipt	Tue Apr 13 23:50:01 2010 +0200
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libparserutils"
     1.7 +VERSION="7369"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Various pieces of functionality that are useful for parsers."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
    1.12 +BUILD_DEPENDS="subversion"
    1.13 +
    1.14 +# Rules to configure and make the package.
    1.15 +compile_rules()
    1.16 +{
    1.17 +	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.18 +	svn co svn://svn.netsurf-browser.org/trunk/libparserutils \
    1.19 +		-r $VERSION $PACKAGE-$VERSION
    1.20 +	cd $src
    1.21 +	make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
    1.22 +	make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr 
    1.23 +}
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/lib
    1.28 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.29 +}