diff options
author | Jaco Kroon <jaco@uls.co.za> | 2023-06-28 09:55:06 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-07-21 09:22:12 +0300 |
commit | 93aaf069c3fb9de0326646f336ce8e5d707fb2bd (patch) | |
tree | 02a23d19c9f0ce61c140fb93b89c856f407570e8 /net-misc/sipp/sipp-3.7.1.ebuild | |
parent | net-misc/sipp: Add upstream remote-id. (diff) | |
download | gentoo-93aaf069c3fb9de0326646f336ce8e5d707fb2bd.tar.gz gentoo-93aaf069c3fb9de0326646f336ce8e5d707fb2bd.tar.bz2 gentoo-93aaf069c3fb9de0326646f336ce8e5d707fb2bd.zip |
net-misc/sipp: add 3.7.1
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/31653
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/sipp/sipp-3.7.1.ebuild')
-rw-r--r-- | net-misc/sipp/sipp-3.7.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/sipp/sipp-3.7.1.ebuild b/net-misc/sipp/sipp-3.7.1.ebuild new file mode 100644 index 000000000000..f34270650432 --- /dev/null +++ b/net-misc/sipp/sipp-3.7.1.ebuild @@ -0,0 +1,45 @@ +# 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_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 +} |