wok-next rev 7178

Added lorcon.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 08 00:01:41 2010 +0000 (2010-11-08)
parents 4689b203643a
children 0cca1e2a1203
files lorcon-dev/receipt lorcon/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lorcon-dev/receipt	Mon Nov 08 00:01:41 2010 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lorcon-dev"
     1.7 +VERSION="163"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for lorcon"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="lorcon"
    1.12 +WEB_SITE="http://802.11ninja.net/lorcon/"
    1.13 +WANTED="lorcon"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/include $fs/usr
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +}
    1.22 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/lorcon/receipt	Mon Nov 08 00:01:41 2010 +0000
     2.3 @@ -0,0 +1,39 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="lorcon"
     2.7 +VERSION="163"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code."
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +BUILD_DEPENDS="subversion"
    2.12 +WEB_SITE="http://802.11ninja.net/lorcon/"
    2.13 +
    2.14 +# Rules to configure and make the package.
    2.15 +compile_rules()
    2.16 +{
    2.17 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    2.18 +	if [ -d $PACKAGE-$VERSION ]; then
    2.19 +		true
    2.20 +	elif [ -f $TARBALL ]; then
    2.21 +		tar xzf $TARBALL
    2.22 +	else
    2.23 +		svn checkout -r $VERSION \
    2.24 +			http://802.11ninja.net/svn/lorcon/trunk $PACKAGE-$VERSION
    2.25 +		tar czf $TARBALL $PACKAGE-$VERSION
    2.26 +	fi
    2.27 +	cd $src
    2.28 +	./configure \
    2.29 +		--prefix=/usr \
    2.30 +		--infodir=/usr/share/info \
    2.31 +		--mandir=/usr/share/man \
    2.32 +		$CONFIGURE_ARGS &&
    2.33 +	make && make DESTDIR=$PWD/_pkg install
    2.34 +}
    2.35 +
    2.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.37 +genpkg_rules()
    2.38 +{
    2.39 +	mkdir -p $fs/usr/lib
    2.40 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.41 +}
    2.42 +