Merge pull request #466 from micmac1/libosip2-up-abi
[feed/telephony.git] / net / sipp / Makefile
1 #
2 # Copyright (C) 2013-2015 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.6.0
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:=e47e7b11fec0769cf76b30623a66390333bdb20323c66043ca535460858fa1bb
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)/uclibc++.mk
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/sipp
27 SECTION:=net
28 CATEGORY:=Network
29 SUBMENU:=Telephony
30 DEPENDS:=$(CXX_DEPENDS) +libncurses +libpthread
31 TITLE:=test tool / traffic generator for the SIP protocol
32 URL:=http://sipp.sourceforge.net/
33 endef
34
35 define Package/sipp/description
36 SIPp is a free Open Source test tool / traffic generator for the SIP
37 protocol. It includes a few basic SipStone user agent scenarios (UAC and
38 UAS) and establishes and releases multiple calls with the INVITE and BYE
39 methods.
40 endef
41
42 CONFIGURE_ARGS+= \
43 --enable-epoll \
44 --without-gsl \
45 --without-pcap \
46 --with-rtpstream \
47 --without-sctp
48
49 define Package/sipp/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sipp $(1)/usr/bin
52 endef
53
54 $(eval $(call BuildPackage,sipp))