wok annotate wireshark/receipt @ rev 7889
mysql: fix perms
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 07 10:51:16 2011 +0100 (2011-01-07) |
parents | 209f2ed52094 |
children | 29141edd5a27 |
rev | line source |
---|---|
pankso@1108 | 1 # SliTaz package receipt. |
pankso@1108 | 2 |
pankso@1108 | 3 PACKAGE="wireshark" |
slaxemulator@7341 | 4 VERSION="1.4.2" |
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@5007 | 8 DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 attr \ |
slaxemulator@6370 | 9 portaudio libkrb5" |
slaxemulator@7168 | 10 BUILD_DEPENDS="gnutls gnutls-dev libgpg-error libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \ |
slaxemulator@6370 | 11 libgcrypt libgcrypt-dev flex libtasn1-dev bison perl" |
pankso@2153 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@1108 | 13 WEB_SITE="http://www.wireshark.org/" |
pankso@2153 | 14 WGET_URL="http://media-2.cacetech.com/wireshark/src/$TARBALL" |
jozee@4976 | 15 TAGS="network analyzer" |
pankso@1108 | 16 |
pankso@1108 | 17 # Rules to configure and make the package. |
pankso@1108 | 18 compile_rules() |
pankso@1108 | 19 { |
pankso@1108 | 20 cd $src |
pankso@1108 | 21 ./configure \ |
pankso@1108 | 22 --prefix=/usr \ |
pankso@1108 | 23 --mandir=/usr/share/man \ |
pankso@1108 | 24 --enable-setuid-install \ |
pankso@4096 | 25 --disable-portaudio \ |
pascal@1499 | 26 $CONFIGURE_ARGS && |
slaxemulator@6370 | 27 make -j 4 && |
pankso@1108 | 28 make DESTDIR=$PWD/_pkg install |
pankso@1108 | 29 } |
pankso@1108 | 30 |
pankso@1108 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1108 | 32 genpkg_rules() |
pankso@1108 | 33 { |
pankso@1108 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@1108 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1108 | 36 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib |
pankso@1108 | 37 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la |
pankso@1108 | 38 cp -a $_pkg/usr/bin $fs/usr |
pankso@1108 | 39 cp -a $_pkg/usr/share/wireshark $fs/usr/share |
pankso@1108 | 40 } |