wok-4.x annotate wireshark/receipt @ rev 7316

Up: assaultcube to 1.10.4. Up: assaultcube-data to 1.10.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 17 17:55:22 2010 +0000 (2010-11-17)
parents 85369140d63a
children ae0ecab44206
rev   line source
pankso@1108 1 # SliTaz package receipt.
pankso@1108 2
pankso@1108 3 PACKAGE="wireshark"
slaxemulator@6712 4 VERSION="1.4.1"
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 }