pentoo-overlay/net-misc/sipp/sipp-3.4.1.ebuild
2016-04-13 14:19:31 +08:00

30 lines
582 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils
MY_PV=${PV/_beta/-beta}
DESCRIPTION="SipBomber is a tool to stress SIP server/proxy implementations."
HOMEPAGE="http://sipp.sourceforge.net/"
SRC_URI="https://github.com/SIPp/sipp/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pcap sctp ssl"
DEPEND=""
RDEPEND=""
S="${WORKDIR}"/$PN-${MY_PV}
src_configure() {
econf \
$(use_with pcap) \
$(use_with sctp) \
$(use_with ssl openssl)
}