wok-current view libparserutils/receipt @ rev 7818

Add cowpatty. Wireless WPA/WPA2 PSK handshake cracking utility.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 25 11:13:58 2010 +0000 (2010-12-25)
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 }