From bba1d4f90e22e63de22a40e0f9d250d4c4f61fea Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Mon, 8 Oct 2012 05:18:28 +0000 Subject: add installation of header files, this is needed for building plugins (Portage version: 2.1.11.24/cvs/Linux x86_64) --- net-analyzer/wireshark/ChangeLog | 5 ++++- net-analyzer/wireshark/wireshark-1.8.3-r1.ebuild | 10 +++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'net-analyzer') diff --git a/net-analyzer/wireshark/ChangeLog b/net-analyzer/wireshark/ChangeLog index d28c70611b69..9b8e93e3dfdb 100644 --- a/net-analyzer/wireshark/ChangeLog +++ b/net-analyzer/wireshark/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/wireshark # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.410 2012/10/07 19:23:55 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.411 2012/10/08 05:18:28 zerochaos Exp $ + + 08 Oct 2012; Rick Farina wireshark-1.8.3-r1.ebuild: + add installation of header files, this is needed for building plugins 07 Oct 2012; Jeroen Roovers -wireshark-1.8.2-r2.ebuild, -wireshark-1.8.2-r3.ebuild, wireshark-1.8.3.ebuild: diff --git a/net-analyzer/wireshark/wireshark-1.8.3-r1.ebuild b/net-analyzer/wireshark/wireshark-1.8.3-r1.ebuild index fa968d4e56c5..ae05bac1ee8e 100644 --- a/net-analyzer/wireshark/wireshark-1.8.3-r1.ebuild +++ b/net-analyzer/wireshark/wireshark-1.8.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.3-r1.ebuild,v 1.1 2012/10/03 16:21:09 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.3-r1.ebuild,v 1.2 2012/10/08 05:18:28 zerochaos Exp $ EAPI="4" PYTHON_DEPEND="python? 2" @@ -207,6 +207,14 @@ src_install() { dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} \ doc/{randpkt.txt,README*} + #stolen from debian/rules to install headers needed to build plugins + dodir /usr/include/wireshark/ + for F in `cat "${S}"/debian/wireshark-dev.header-files` + do + cp --parents "${F}" "${ED}"/usr/include/wireshark || die + done + + #with the above this really shouldn't be needed, but things may be looking in wiretap/ instead of wireshark/wiretap/ insinto /usr/include/wiretap doins wiretap/wtap.h -- cgit v1.2.3-65-gdbad