wok-next view libparserutils/receipt @ rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
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 }