wok-6.x view lorcon/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents 544e47246b33
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lorcon"
4 VERSION="163"
5 CATEGORY="network"
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."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20100716090508/http://802.11ninja.net/lorcon/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/trunk"
12 BRANCH="$VERSION"
14 BUILD_DEPENDS="subversion"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/kismetwireless/lorcon/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|\.||g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 touch -d 197001010000 .depend
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }