wok view lorcon/receipt @ rev 8476

Fixed some receipts that used PACKAGE-VERSION installed of src.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 07 18:38:32 2011 +0000 (2011-02-07)
parents 454a7889dcd3
children 8d4ecbb30029
line source
1 # SliTaz package receipt.
3 PACKAGE="lorcon"
4 VERSION="163"
5 CATEGORY="network"
6 SHORT_DESC="A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code."
7 MAINTAINER="slaxemulator@gmail.com"
8 BUILD_DEPENDS="subversion"
9 WEB_SITE="http://802.11ninja.net/lorcon/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
15 if [ -f $TARBALL ]; then
16 unlzma -c $TARBALL | tar xf -
17 else
18 svn checkout -r $VERSION \
19 http://802.11ninja.net/svn/lorcon/trunk $PACKAGE-$VERSION
20 tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si
21 fi
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }