wok annotate wireshark/receipt @ rev 2776
Up: mysql-test (5.0.77)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 27 11:07:12 2009 +0200 (2009-04-27) |
parents | 3f46aae28b48 |
children | 8d91c420496b |
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@2527 | 8 DEPENDS="gnutls libgpg-error libcap gtk+ portaudio pcre xorg-libXdamage" |
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 } |