wok-current view airsnort/receipt @ rev 25126
updated apulse (0.1.12 -> 0.1.13)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:35:11 2022 +0100 (2022-06-28) |
parents | 11b5e93cb5f2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="airsnort"
4 VERSION="0.2.7e"
5 CATEGORY="network"
6 SHORT_DESC="A wireless LAN (WLAN) tool which recovers encryption keys."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://airsnort.shmoo.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ libpcap"
14 BUILD_DEPENDS="gtk+-dev libpcap-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/airsnort/files/airsnort/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*airsnort-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }