wok-next view wireshark/receipt @ rev 1445

Add: gnome_doc_utils, gnome-doc-utils?dev.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Oct 02 23:54:20 2008 +0200 (2008-10-02)
parents
children 169d84064c65
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="1.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Wireshark is an award-winning network protocol analyzer."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gnutls libgpg-error libcap gtk+"
9 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.wireshark.org/"
12 WGET_URL="http://www.wireshark.org/download/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --enable-setuid-install \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib
33 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/wireshark $fs/usr/share
36 }