wok-6.x annotate lorcon/receipt @ rev 7178
Added lorcon.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 08 00:01:41 2010 +0000 (2010-11-08) |
parents | |
children | 2e4f0e0b20e1 |
rev | line source |
---|---|
slaxemulator@7178 | 1 # SliTaz package receipt. |
slaxemulator@7178 | 2 |
slaxemulator@7178 | 3 PACKAGE="lorcon" |
slaxemulator@7178 | 4 VERSION="163" |
slaxemulator@7178 | 5 CATEGORY="network" |
slaxemulator@7178 | 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." |
slaxemulator@7178 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7178 | 8 BUILD_DEPENDS="subversion" |
slaxemulator@7178 | 9 WEB_SITE="http://802.11ninja.net/lorcon/" |
slaxemulator@7178 | 10 |
slaxemulator@7178 | 11 # Rules to configure and make the package. |
slaxemulator@7178 | 12 compile_rules() |
slaxemulator@7178 | 13 { |
slaxemulator@7178 | 14 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz |
slaxemulator@7178 | 15 if [ -d $PACKAGE-$VERSION ]; then |
slaxemulator@7178 | 16 true |
slaxemulator@7178 | 17 elif [ -f $TARBALL ]; then |
slaxemulator@7178 | 18 tar xzf $TARBALL |
slaxemulator@7178 | 19 else |
slaxemulator@7178 | 20 svn checkout -r $VERSION \ |
slaxemulator@7178 | 21 http://802.11ninja.net/svn/lorcon/trunk $PACKAGE-$VERSION |
slaxemulator@7178 | 22 tar czf $TARBALL $PACKAGE-$VERSION |
slaxemulator@7178 | 23 fi |
slaxemulator@7178 | 24 cd $src |
slaxemulator@7178 | 25 ./configure \ |
slaxemulator@7178 | 26 --prefix=/usr \ |
slaxemulator@7178 | 27 --infodir=/usr/share/info \ |
slaxemulator@7178 | 28 --mandir=/usr/share/man \ |
slaxemulator@7178 | 29 $CONFIGURE_ARGS && |
slaxemulator@7178 | 30 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7178 | 31 } |
slaxemulator@7178 | 32 |
slaxemulator@7178 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7178 | 34 genpkg_rules() |
slaxemulator@7178 | 35 { |
slaxemulator@7178 | 36 mkdir -p $fs/usr/lib |
slaxemulator@7178 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7178 | 38 } |
slaxemulator@7178 | 39 |