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