wok-6.x annotate wireshark/receipt @ rev 14845

tightvnc: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 18 01:31:06 2013 +0200 (2013-07-18)
parents 7c8bab6f0f93
children 7896f0694ef6
rev   line source
pankso@1108 1 # SliTaz package receipt.
pankso@1108 2
pankso@1108 3 PACKAGE="wireshark"
samuel_trassare@14162 4 VERSION="1.8.6"
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"
slaxemulator@10797 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@10797 9 WEB_SITE="http://www.wireshark.org/"
pascal@12563 10 WGET_URL="http://wiresharkdownloads.riverbed.com/wireshark/src/$TARBALL"
slaxemulator@10797 11 TAGS="network analyzer"
slaxemulator@10797 12
samuel_trassare@11742 13 DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 attr \
samuel_trassare@11742 14 libgcrypt portaudio libpcap libkrb5"
samuel_trassare@11742 15 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \
slaxemulator@10956 16 libgcrypt-dev flex libtasn1-dev bison perl"
pankso@1108 17
pankso@1108 18 # Rules to configure and make the package.
pankso@1108 19 compile_rules()
pankso@1108 20 {
pankso@1108 21 ./configure \
pankso@1108 22 --prefix=/usr \
pankso@1108 23 --mandir=/usr/share/man \
pankso@1108 24 --enable-setuid-install \
samuel_trassare@13399 25 $CONFIGURE_ARGS
samuel_trassare@13399 26 sed -i 's/mozilla/browser/' config.h
gokhlayeh@11574 27 make $MAKEFLAGS &&
slaxemulator@10233 28 make 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 {
samuel_trassare@11742 34 mkdir -p $fs/usr/lib \
samuel_trassare@12057 35 $fs/usr/share
samuel_trassare@14162 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
samuel_trassare@14162 37 cp -a $install/usr/lib/wireshark $fs/usr/lib
pankso@1108 38 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
samuel_trassare@14162 39 cp -a $install/usr/bin $fs/usr
samuel_trassare@14162 40 cp -a $install/usr/share/wireshark $fs/usr/share
pankso@1108 41 }