wok-current view libparserutils/receipt @ rev 5133

Up: slitaz-configs (3.1)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 23 11:09:22 2010 +0100 (2010-03-23)
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 }