wok annotate lorcon/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents 544e47246b33
children
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"
pascal@15379 8 LICENSE="GPL2"
pascal@25443 9 WEB_SITE="https://web.archive.org/web/20100716090508/http://802.11ninja.net/lorcon/"
pascal@15661 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@8562 11 WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/trunk"
gokhlayeh@8562 12 BRANCH="$VERSION"
slaxemulator@7178 13
pascal@15117 14 BUILD_DEPENDS="subversion"
pascal@15117 15
pascal@24540 16 # What is the latest version available today?
pascal@24540 17 current_version()
pascal@24540 18 {
pascal@24540 19 wget -O - https://github.com/kismetwireless/lorcon/tags 2>/dev/null | \
pascal@24540 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|\.||g;q'
pascal@24540 21 }
pascal@24540 22
slaxemulator@7178 23 # Rules to configure and make the package.
slaxemulator@7178 24 compile_rules()
slaxemulator@7178 25 {
slaxemulator@7178 26 cd $src
pascal@15117 27 touch -d 197001010000 .depend
slaxemulator@7178 28 ./configure \
slaxemulator@7178 29 --prefix=/usr \
slaxemulator@7178 30 --infodir=/usr/share/info \
slaxemulator@7178 31 --mandir=/usr/share/man \
slaxemulator@7178 32 $CONFIGURE_ARGS &&
pascal@15117 33 make && make DESTDIR=$DESTDIR install
slaxemulator@7178 34 }
slaxemulator@7178 35
slaxemulator@7178 36 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7178 37 genpkg_rules()
slaxemulator@7178 38 {
slaxemulator@7178 39 mkdir -p $fs/usr/lib
pascal@15117 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@7178 41 }
slaxemulator@7178 42