# HG changeset patch # User Christopher Rogers # Date 1289174501 0 # Node ID 454a7889dcd3e0e4f6e2577c7cb5777538735933 # Parent 4689b203643a6d44aa1e0ebe887e5688726967fd Added lorcon. diff -r 4689b203643a -r 454a7889dcd3 lorcon-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lorcon-dev/receipt Mon Nov 08 00:01:41 2010 +0000 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="lorcon-dev" +VERSION="163" +CATEGORY="development" +SHORT_DESC="devel files for lorcon" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="lorcon" +WEB_SITE="http://802.11ninja.net/lorcon/" +WANTED="lorcon" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib +} + diff -r 4689b203643a -r 454a7889dcd3 lorcon/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lorcon/receipt Mon Nov 08 00:01:41 2010 +0000 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="lorcon" +VERSION="163" +CATEGORY="network" +SHORT_DESC="A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code." +MAINTAINER="slaxemulator@gmail.com" +BUILD_DEPENDS="subversion" +WEB_SITE="http://802.11ninja.net/lorcon/" + +# Rules to configure and make the package. +compile_rules() +{ + TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz + if [ -d $PACKAGE-$VERSION ]; then + true + elif [ -f $TARBALL ]; then + tar xzf $TARBALL + else + svn checkout -r $VERSION \ + http://802.11ninja.net/svn/lorcon/trunk $PACKAGE-$VERSION + tar czf $TARBALL $PACKAGE-$VERSION + fi + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +