wok annotate kismet/receipt @ rev 1022
kismet: category mistyping fix
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Wed Jul 09 23:00:58 2008 +0200 (2008-07-09) |
parents | 204c3c235396 |
children | 09747329b5d0 |
rev | line source |
---|---|
domcox@1021 | 1 # SliTaz package receipt. |
domcox@1021 | 2 |
domcox@1021 | 3 PACKAGE="kismet" |
domcox@1021 | 4 VERSION="2008-05-R1" |
domcox@1022 | 5 CATEGORY="network" |
domcox@1021 | 6 SHORT_DESC="Wireless network monitoring tool" |
domcox@1021 | 7 MAINTAINER="domcox@users.sourceforge.net" |
domcox@1021 | 8 DEPENDS="expat gmp libpcap ncurses zlib" |
domcox@1021 | 9 BUILD_DEPENDS="expat-dev gmp-dev ncurses-dev zlib-dev" |
domcox@1021 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@1021 | 11 WEB_SITE="http://www.kismetwireless.net" |
domcox@1021 | 12 WGET_URL="http://www.kismetwireless.net/code/$TARBALL" |
domcox@1021 | 13 |
domcox@1021 | 14 # Rules to configure and make the package. |
domcox@1021 | 15 compile_rules() |
domcox@1021 | 16 { |
domcox@1021 | 17 cd $src |
domcox@1021 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
domcox@1021 | 19 --mandir=/usr/share/man --sysconfdir=/etc/kismet \ |
domcox@1021 | 20 $CONFIGURE_ARGS |
domcox@1021 | 21 make |
domcox@1021 | 22 make DESTDIR=$PWD/_pkg install |
domcox@1021 | 23 } |
domcox@1021 | 24 |
domcox@1021 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1021 | 26 genpkg_rules() |
domcox@1021 | 27 { |
domcox@1021 | 28 mkdir -p $fs/usr |
domcox@1021 | 29 cp -a $_pkg/usr/bin $fs/usr |
domcox@1021 | 30 mkdir -p $fs/etc |
domcox@1021 | 31 cp -a $_pkg/etc/kismet $fs/etc |
domcox@1021 | 32 sed -e 's/your_user_here/tux/' $_pkg/etc/kismet/kismet.conf \ |
domcox@1021 | 33 > $fs/etc/kismet/kismet.conf |
domcox@1021 | 34 strip -s $fs/usr/bin/* |
domcox@1021 | 35 } |