wok annotate lorcon-old/receipt @ rev 25581

Update some web_site & wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 27 11:13:29 2023 +0000 (12 months ago)
parents 9eb4cd5b5d07
children a66f312c374b
rev   line source
slaxemulator@13165 1 # SliTaz package receipt.
slaxemulator@13165 2
slaxemulator@13165 3 PACKAGE="lorcon-old"
slaxemulator@13165 4 VERSION="224"
slaxemulator@13165 5 CATEGORY="network"
slaxemulator@13165 6 SHORT_DESC="Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code."
slaxemulator@13165 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@13165 9 WEB_SITE="http://802.11ninja.net"
slaxemulator@13165 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@13165 11 WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/branch/lorcon-old/"
slaxemulator@13165 12
slaxemulator@13165 13 DEPENDS=""
slaxemulator@13165 14 BUILD_DEPENDS="subversion"
slaxemulator@13165 15
pascal@25581 16 # What is the latest version available today?
pascal@25581 17 current_version()
pascal@25581 18 {
pascal@25581 19 wget -O - https://github.com/grayburn/lorcon-old/commits/master 2>/dev/null | \
pascal@25581 20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@25581 21 }
pascal@25581 22
slaxemulator@13165 23 # Rules to configure and make the package.
slaxemulator@13165 24 compile_rules()
slaxemulator@13165 25 {
pascal@15055 26 touch -d 197001010000 .depend
slaxemulator@13165 27 ./configure $CONFIGURE_ARGS && make && make install
slaxemulator@13165 28 }
slaxemulator@13165 29
slaxemulator@13165 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@13165 31 genpkg_rules()
slaxemulator@13165 32 {
slaxemulator@13165 33 mkdir -p $fs/usr/lib
slaxemulator@13165 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@13165 35 }