wok-next annotate lorcon/receipt @ rev 8551

imported patch get/fcitx-zm
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 454a7889dcd3
children 8d4ecbb30029
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@8260 14 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
slaxemulator@8260 15 if [ -f $TARBALL ]; then
slaxemulator@8260 16 unlzma -c $TARBALL | tar xf -
slaxemulator@7178 17 else
slaxemulator@7178 18 svn checkout -r $VERSION \
slaxemulator@7178 19 http://802.11ninja.net/svn/lorcon/trunk $PACKAGE-$VERSION
slaxemulator@8260 20 tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si
slaxemulator@7178 21 fi
slaxemulator@7178 22 cd $src
slaxemulator@7178 23 ./configure \
slaxemulator@7178 24 --prefix=/usr \
slaxemulator@7178 25 --infodir=/usr/share/info \
slaxemulator@7178 26 --mandir=/usr/share/man \
slaxemulator@7178 27 $CONFIGURE_ARGS &&
slaxemulator@7178 28 make && make DESTDIR=$PWD/_pkg install
slaxemulator@7178 29 }
slaxemulator@7178 30
slaxemulator@7178 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7178 32 genpkg_rules()
slaxemulator@7178 33 {
slaxemulator@7178 34 mkdir -p $fs/usr/lib
slaxemulator@7178 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7178 36 }
slaxemulator@7178 37