wok-next diff lorcon/receipt @ rev 7396

linmodem-hsfmodem: fix kernel version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 26 18:52:20 2010 +0100 (2010-11-26)
parents
children 2e4f0e0b20e1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lorcon/receipt	Fri Nov 26 18:52:20 2010 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lorcon"
     1.7 +VERSION="163"
     1.8 +CATEGORY="network"
     1.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."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +BUILD_DEPENDS="subversion"
    1.12 +WEB_SITE="http://802.11ninja.net/lorcon/"
    1.13 +
    1.14 +# Rules to configure and make the package.
    1.15 +compile_rules()
    1.16 +{
    1.17 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    1.18 +	if [ -d $PACKAGE-$VERSION ]; then
    1.19 +		true
    1.20 +	elif [ -f $TARBALL ]; then
    1.21 +		tar xzf $TARBALL
    1.22 +	else
    1.23 +		svn checkout -r $VERSION \
    1.24 +			http://802.11ninja.net/svn/lorcon/trunk $PACKAGE-$VERSION
    1.25 +		tar czf $TARBALL $PACKAGE-$VERSION
    1.26 +	fi
    1.27 +	cd $src
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--infodir=/usr/share/info \
    1.31 +		--mandir=/usr/share/man \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make && make DESTDIR=$PWD/_pkg install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $fs/usr/lib
    1.40 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.41 +}
    1.42 +