wok annotate wireshark/receipt @ rev 1477

conky slim: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 13:18:21 2008 +0000 (2008-10-04)
parents
children 169d84064c65
rev   line source
pankso@1108 1 # SliTaz package receipt.
pankso@1108 2
pankso@1108 3 PACKAGE="wireshark"
pankso@1108 4 VERSION="1.0.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"
pankso@1108 8 DEPENDS="gnutls libgpg-error libcap gtk+"
pankso@1108 9 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev gtk+-dev"
pankso@1108 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@1108 11 WEB_SITE="http://www.wireshark.org/"
pankso@1108 12 WGET_URL="http://www.wireshark.org/download/src/$TARBALL"
pankso@1108 13
pankso@1108 14 # Rules to configure and make the package.
pankso@1108 15 compile_rules()
pankso@1108 16 {
pankso@1108 17 cd $src
pankso@1108 18 ./configure \
pankso@1108 19 --prefix=/usr \
pankso@1108 20 --mandir=/usr/share/man \
pankso@1108 21 --enable-setuid-install \
pankso@1108 22 $CONFIGURE_ARGS
pankso@1108 23 make
pankso@1108 24 make DESTDIR=$PWD/_pkg install
pankso@1108 25 }
pankso@1108 26
pankso@1108 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1108 28 genpkg_rules()
pankso@1108 29 {
pankso@1108 30 mkdir -p $fs/usr/lib $fs/usr/share
pankso@1108 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@1108 32 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib
pankso@1108 33 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
pankso@1108 34 cp -a $_pkg/usr/bin $fs/usr
pankso@1108 35 cp -a $_pkg/usr/share/wireshark $fs/usr/share
pankso@1108 36 }