wok-stable view libparserutils/receipt @ rev 6421
Up: b43-fwcutter to 013.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 26 18:09:52 2010 +0000 (2010-09-26) |
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 }