wok-current annotate wireshark/receipt @ rev 11574
Replace all '-j 4' occurences by ''
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:19 2012 +0100 (2012-01-02) |
parents | 40b8672a84a1 |
children | 96eb24dd8b9d |
rev | line source |
---|---|
pankso@1108 | 1 # SliTaz package receipt. |
pankso@1108 | 2 |
pankso@1108 | 3 PACKAGE="wireshark" |
gokhlayeh@11442 | 4 VERSION="1.6.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" |
slaxemulator@10797 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10797 | 9 WEB_SITE="http://www.wireshark.org/" |
slaxemulator@10797 | 10 WGET_URL="http://media-2.cacetech.com/wireshark/src/$TARBALL" |
slaxemulator@10797 | 11 TAGS="network analyzer" |
slaxemulator@10797 | 12 |
gokhlayeh@11442 | 13 DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 attr libgcrypt portaudio libpcap libkrb5" |
gokhlayeh@11442 | 14 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev |
slaxemulator@10956 | 15 libgcrypt-dev flex libtasn1-dev bison perl" |
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 && |
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 { |
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 } |