mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
sipp-3.7.1.ebuild
This commit is contained in:
parent
f33de28088
commit
dca9fd48d5
2 changed files with 56 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST sipp-3.6.1_p20210826.tar.gz 793020 BLAKE2B 09fbbdccc573739b2e3c27dd4c2968573847399e84267712e18b722b08d8ca0acb8a516e029b77c6bef2b9b4a431f4abf9b01cbb5df84c12d77306e044569e5e SHA512 a3ec0fd087b0dd304a0579884378d314b01abbe03203f48c2ee882b075c10b94f0e1a4bd2f068f185373b9c6848f9a2f01d6190b17f616bdc460ea614515cc8e
|
||||
DIST sipp-3.7.1.tar.gz 927012 BLAKE2B d79cde44761a22ca5dcc737dead9163056e0dc2504c225d23d834b4ae2bc204b1b87f87753ac662ec59e1a940cf1b4f0c47ff0b427b30b373a3c0ad91a5ad4ae SHA512 4c4c588bb3feebfbc6bad32c1565bb76de7eb433b9b40aa948dfbb63022a9cbadaf6d38cb0826c06593e10cc6a4d328a9bb9c94f885d8f8763432612963db94b
|
||||
|
|
|
|||
55
net-misc/sipp/sipp-3.7.1.ebuild
Normal file
55
net-misc/sipp/sipp-3.7.1.ebuild
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A free Open Source test tool / traffic generator for the SIP protocol"
|
||||
HOMEPAGE="http://sipp.sourceforge.net/ https://github.com/SIPp/sipp/releases"
|
||||
SRC_URI="https://github.com/SIPp/sipp/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gsl +pcap sctp +ssl"
|
||||
|
||||
DEPEND="sys-libs/ncurses:=
|
||||
gsl? ( sci-libs/gsl:= )
|
||||
pcap? (
|
||||
net-libs/libpcap
|
||||
net-libs/libnet:1.1
|
||||
)
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix version for cmake to work
|
||||
cp include/version.h.in include/version.h
|
||||
sed -i "s|@VERSION@|${PV}|" include/version.h || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_GSL=$(usex gsl 1 0)
|
||||
-DUSE_PCAP=$(usex pcap 1 0)
|
||||
-DUSE_SCTP=$(usex sctp 1 0)
|
||||
-DUSE_SSL=$(usex ssl 1 0)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
use pcap && doins pcap/*.pcap
|
||||
dodoc CHANGES.md README.md
|
||||
}
|
||||
Loading…
Reference in a new issue