wok view 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 (11 months ago)
parents 9eb4cd5b5d07
children a66f312c374b
line source
1 # SliTaz package receipt.
3 PACKAGE="lorcon-old"
4 VERSION="224"
5 CATEGORY="network"
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."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://802.11ninja.net"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/branch/lorcon-old/"
13 DEPENDS=""
14 BUILD_DEPENDS="subversion"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/grayburn/lorcon-old/commits/master 2>/dev/null | \
20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 touch -d 197001010000 .depend
27 ./configure $CONFIGURE_ARGS && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }