wok annotate wireshark/receipt @ rev 5347
Updated ffmpeg, ffmpeg-dev, and ffplay to 0.5.1. Added new avutil.h for the new ffmpeg-dev.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 28 10:41:34 2010 +0000 (2010-04-28) |
parents | 35ec83c60e58 |
children | b1a88d2dfa5f |
rev | line source |
---|---|
pankso@1108 | 1 # SliTaz package receipt. |
pankso@1108 | 2 |
pankso@1108 | 3 PACKAGE="wireshark" |
allan316@4495 | 4 VERSION="1.2.4" |
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 \ |
pascal@5007 | 9 portaudio" |
pankso@4096 | 10 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap gtk+-dev \ |
pankso@4096 | 11 libgcrypt-dev" |
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 && |
pascal@1499 | 27 make && |
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 } |