wok view wireshark/receipt @ rev 6707
Added linux-module-headers. This is used to build 3rd party kernel modules. This is based on archlinux kernel26-headers PKGBUILD.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 23:49:38 2010 +0000 (2010-10-13) |
parents | b1a88d2dfa5f |
children | 85369140d63a |
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="1.4.0"
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+ pcre xorg-libXdamage libcomerr3 attr \
9 portaudio libkrb5"
10 BUILD_DEPENDS="gnutls gnutls-dev libgpg-error libgpg-error-dev libcap-dev libpcap gtk+-dev \
11 libgcrypt libgcrypt-dev flex libtasn1-dev bison perl"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.wireshark.org/"
14 WGET_URL="http://media-2.cacetech.com/wireshark/src/$TARBALL"
15 TAGS="network analyzer"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --enable-setuid-install \
25 --disable-portaudio \
26 $CONFIGURE_ARGS &&
27 make -j 4 &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib
37 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/share/wireshark $fs/usr/share
40 }