sipp: version bump, build fixes
[feed/telephony.git] / net / sipp / Makefile
1 #
2 # Copyright (C) 2013-2017 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sipp
11 PKG_VERSION:=3.5.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/SIPp/sipp/releases/download/v$(PKG_VERSION)
16 PKG_HASH:=56421ba7b43b67e9b04e21894b726502a82a6149fc86ba06df33dfc7252a1891
17
18 PKG_LICENSE:=GPL-2.0+ BSD-3-Clause Zlib
19 PKG_LICENSE_FILES:=LICENSE.txt
20
21 PKG_FIXUP:=autoreconf
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/sipp
26 SECTION:=net
27 CATEGORY:=Network
28 SUBMENU:=Telephony
29 DEPENDS:=+libncurses +libpthread +libstdcpp
30 TITLE:=test tool / traffic generator for the SIP protocol
31 URL:=http://sipp.sourceforge.net/
32 endef
33
34 define Package/sipp/description
35 SIPp is a free Open Source test tool / traffic generator for the SIP
36 protocol. It includes a few basic SipStone user agent scenarios (UAC and
37 UAS) and establishes and releases multiple calls with the INVITE and BYE
38 methods.
39 endef
40
41 CONFIGURE_ARGS+= \
42 --enable-epoll \
43 --without-gsl \
44 --without-pcap \
45 --with-rtpstream \
46 --without-sctp
47
48 define Package/sipp/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sipp $(1)/usr/bin
51 endef
52
53 $(eval $(call BuildPackage,sipp))