wok view airsnort/receipt @ rev 24576
updated fswebcam (20140113 -> 20200725)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:49:46 2022 +0100 (2022-02-27) |
parents | 11b5e93cb5f2 |
children | 6b33f9da53d4 |
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 }