wok view airsnort/receipt @ rev 25795

created recipe for libxfcegui4-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:34:18 2024 +0100 (4 weeks ago)
parents 5f6c5106b1f5
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }