summaryrefslogtreecommitdiff
path: root/extra/wireshark/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-21 00:01:27 +0000
committerroot <root@rshg054.dnsready.net>2012-04-21 00:01:27 +0000
commit905dec08e7144fe77aad1161778a6c3b74ff305c (patch)
tree2dadd89b94a210d035a975ab75d250abef1c959f /extra/wireshark/PKGBUILD
parent947c2e7bbbd5942492024997d34d709d436f1c8f (diff)
Sat Apr 21 00:01:27 UTC 2012
Diffstat (limited to 'extra/wireshark/PKGBUILD')
-rw-r--r--extra/wireshark/PKGBUILD24
1 files changed, 19 insertions, 5 deletions
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 <guillaume at alaux dot net>
+# $Id: PKGBUILD 156497 2012-04-19 21:01:40Z guillaume $
+# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
-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
+}