pentoo-overlay/net-misc/wireshark-sap-plugin/wireshark-sap-plugin-9999.ebuild
Yury Martynov 850e9a9a02
net-misc/wireshark-sap-plugin: cmake-utils -> cmake
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Yury Martynov <email@linxon.ru>
2020-07-19 19:29:21 +03:00

29 lines
760 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake eutils multilib git-r3
DESCRIPTION="Wireshark plugin for SAP's protocols"
HOMEPAGE="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark"
EGIT_REPO_URI="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark.git"
EGIT_BRANCH="wireshark-2.2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
RDEPEND=">=net-analyzer/wireshark-2.4:="
DEPEND="${RDEPEND}"
get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_}; echo ${pv}; }
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
)
cmake_src_configure
}