wok-current view wireshark/receipt @ rev 1110
Add iw, libnl, libnl-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 19 18:03:51 2008 +0000 (2008-07-19) |
parents | |
children | 169d84064c65 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="1.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Wireshark is an award-winning network protocol analyzer."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gnutls libgpg-error libcap gtk+"
9 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.wireshark.org/"
12 WGET_URL="http://www.wireshark.org/download/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --enable-setuid-install \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib
33 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/wireshark $fs/usr/share
36 }