diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2009-08-01 23:57:05 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2009-08-01 23:57:05 (GMT) |
commit | 657aa7b8d352108a98719a22e6422b490e598d26 (patch) | |
tree | b2259685fe6409f86d814a1703068ce0fcf0ace8 /abs/extra-testing/wireshark/PKGBUILD | |
parent | 3f300e50406f82e3fde4f48dd7c14fa79cbcd99a (diff) | |
parent | 61344e5f8def4236eadfb43c1efd30bc65c21394 (diff) | |
download | linhes_pkgbuild-657aa7b8d352108a98719a22e6422b490e598d26.zip linhes_pkgbuild-657aa7b8d352108a98719a22e6422b490e598d26.tar.gz linhes_pkgbuild-657aa7b8d352108a98719a22e6422b490e598d26.tar.bz2 |
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/wireshark/PKGBUILD')
-rw-r--r-- | abs/extra-testing/wireshark/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/extra-testing/wireshark/PKGBUILD b/abs/extra-testing/wireshark/PKGBUILD new file mode 100644 index 0000000..4b7a88c --- /dev/null +++ b/abs/extra-testing/wireshark/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 34765 2009-04-11 14:17:32Z hugo $ +# Maintainer: Hugo Doria <hugo@archlinux.org> + +pkgname=wireshark +pkgver=1.2.0 +pkgrel=3 +pkgdesc="A free network protocol analyzer for Unix/Linux and Windows" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('gtk2>=2.14.5' 'heimdal>=1.2.1' 'libpcap>=1.0.0' 'bash' 'gnutls>=2.4.1' 'libcap>=2.16') +makedepends=('bison' 'flex') +url="http://www.wireshark.org/" +replaces=('ethereal') +options=(!libtool) +source=(http://www.wireshark.org/download/src/${pkgname}-${pkgver}.tar.gz wireshark.desktop wireshark.png) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + export CFLAGS="-fno-unit-at-a-time ${CFLAGS}" + ./configure --prefix=/usr --with-ssl || return 1 + make all || return 1 + make DESTDIR=${pkgdir} install || return 1 + + install -Dm644 ${srcdir}/wireshark.png ${pkgdir}/usr/share/icons/wireshark.png + install -Dm644 ${srcdir}/wireshark.desktop ${pkgdir}/usr/share/applications/wireshark.desktop +} |