wok-next annotate wireshark/receipt @ rev 2153
Up: wireshark (1.0.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 05 21:07:52 2009 +0100 (2009-02-05) |
parents | fe1de1bb1c4e |
children | 3f46aae28b48 |
rev | line source |
---|---|
pankso@1108 | 1 # SliTaz package receipt. |
pankso@1108 | 2 |
pankso@1108 | 3 PACKAGE="wireshark" |
pankso@2153 | 4 VERSION="1.0.5" |
pankso@1108 | 5 CATEGORY="network" |
pankso@1108 | 6 SHORT_DESC="Wireshark is an award-winning network protocol analyzer." |
pankso@1108 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2116 | 8 DEPENDS="gnutls libgpg-error libcap gtk+ portaudio" |
pankso@2153 | 9 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap gtk+-dev |
pankso@2153 | 10 libgcrypt-dev" |
pankso@2153 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@1108 | 12 WEB_SITE="http://www.wireshark.org/" |
pankso@2153 | 13 WGET_URL="http://media-2.cacetech.com/wireshark/src/$TARBALL" |
pankso@1108 | 14 |
pankso@1108 | 15 # Rules to configure and make the package. |
pankso@1108 | 16 compile_rules() |
pankso@1108 | 17 { |
pankso@1108 | 18 cd $src |
pankso@1108 | 19 ./configure \ |
pankso@1108 | 20 --prefix=/usr \ |
pankso@1108 | 21 --mandir=/usr/share/man \ |
pankso@1108 | 22 --enable-setuid-install \ |
pascal@1499 | 23 $CONFIGURE_ARGS && |
pascal@1499 | 24 make && |
pankso@1108 | 25 make DESTDIR=$PWD/_pkg install |
pankso@1108 | 26 } |
pankso@1108 | 27 |
pankso@1108 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1108 | 29 genpkg_rules() |
pankso@1108 | 30 { |
pankso@1108 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@1108 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1108 | 33 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib |
pankso@1108 | 34 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la |
pankso@1108 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@1108 | 36 cp -a $_pkg/usr/share/wireshark $fs/usr/share |
pankso@1108 | 37 } |