wok view libparserutils/receipt @ rev 4831

Up: beaver (0.4.0rc1) - Add custom config file, may replace geany has code editor
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 21 23:14:05 2010 +0100 (2010-01-21)
parents
children b537813316cf
line source
1 # SliTaz package receipt.
3 PACKAGE="libparserutils"
4 VERSION="7369"
5 CATEGORY="system-tools"
6 SHORT_DESC="Various pieces of functionality that are useful for parsers."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
9 BUILD_DEPENDS="subversion"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
15 svn co svn://svn.netsurf-browser.org/trunk/libparserutils \
16 -r $VERSION $PACKAGE-$VERSION
17 cd $src
18 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
19 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
20 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
26 }