wok view libparserutils/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents a11358feced4
children 6e24618e3b76
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"
10 WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/libparserutils"
11 BRANCH="$VERSION"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
18 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
19 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/lib
24 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
25 }