mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-25 00:01:15 +02:00
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>
This commit is contained in:
parent
c6a7f5be95
commit
850e9a9a02
3 changed files with 44 additions and 5 deletions
8
net-misc/wireshark-sap-plugin/metadata.xml
Normal file
8
net-misc/wireshark-sap-plugin/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake eutils multilib
|
||||
|
||||
DESCRIPTION="Wireshark plugin for SAP's protocols"
|
||||
HOMEPAGE="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark"
|
||||
SRC_URI="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
RDEPEND="net-analyzer/wireshark:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/SAP-Dissection-plug-in-for-Wireshark-${PV}"
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -1,12 +1,13 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils eutils multilib git-r3
|
||||
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"
|
||||
|
||||
|
|
@ -21,7 +22,8 @@ get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_};
|
|||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
|
||||
-DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue