wok-6.x view libparserutils/receipt @ rev 5761
Add osip
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 11:57:04 2010 +0200 (2010-07-05) |
parents | b537813316cf |
children | 96db5f7822ae |
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 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
16 if [ -f $TARBALL ]; then
17 tar xzf $TARBALL
18 else
19 svn co svn://svn.netsurf-browser.org/trunk/libparserutils \
20 -r $VERSION $PACKAGE-$VERSION &&
21 tar czf $TARBALL $PACKAGE-$VERSION
22 fi
23 cd $src
24 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
25 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
26 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }