From 905dec08e7144fe77aad1161778a6c3b74ff305c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 21 Apr 2012 00:01:27 +0000 Subject: Sat Apr 21 00:01:27 UTC 2012 --- extra/wireshark/PKGBUILD | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'extra/wireshark/PKGBUILD') diff --git a/extra/wireshark/PKGBUILD b/extra/wireshark/PKGBUILD index f50c28492..60a330305 100644 --- a/extra/wireshark/PKGBUILD +++ b/extra/wireshark/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 154405 2012-03-27 21:06:46Z guillaume $ -# Maintainer: Guillaume ALAUX +# $Id: PKGBUILD 156497 2012-04-19 21:01:40Z guillaume $ +# Maintainer: Guillaume ALAUX # Contributor: Florian Pritz -pkgname=(wireshark-cli wireshark-gtk) +pkgname=('wireshark-cli' 'wireshark-gtk' 'wireshark-dev') pkgbase=wireshark -pkgver=1.6.6 +pkgver=1.6.7 pkgrel=1 arch=('i686' 'x86_64') license=('GPL2') @@ -11,7 +11,7 @@ makedepends=('bison' 'flex' 'gtk2' 'krb5' 'libcap' 'libpcap' 'bash' 'gnutls' 'li url="http://www.wireshark.org/" options=(!libtool) source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2) -md5sums=('61145ccd7684b3cfb159fc902fedfecf') +md5sums=('7e39f1c0ea4abd8bffa5122df800ca5d') build() { cd "${srcdir}/${pkgbase}-${pkgver}" @@ -55,3 +55,17 @@ package_wireshark-gtk() { done install -Dm644 wireshark.desktop "${pkgdir}/usr/share/applications/wireshark.desktop" } + +package_wireshark-dev() { + pkgdesc="A free network protocol analyzer for Unix/Linux and Windows - header files" + depends=('wireshark-cli') + + cd "${srcdir}/${pkgbase}-${pkgver}" + + install -dm755 ${pkgdir}/usr/include/${pkgbase}/{epan/{crypt,dfilter,dissectors,ftypes},wiretap,wsutil} + + install -m644 color.h config.h register.h "${pkgdir}/usr/include/${pkgbase}" + for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes wiretap wsutil; do + install -m644 ${d}/*.h ${pkgdir}/usr/include/${pkgbase}/${d} + done +} -- cgit v1.2.3-54-g00ecf