2 # Copyright (C) 2013-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
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
:=6a560e83aff982f331ddbcadfb3bd530c5896cd5b757dd6eb682133cc860ecb1
18 PKG_LICENSE
:=GPL-2.0
+ BSD-3-Clause Zlib
19 PKG_LICENSE_FILES
:=LICENSE.txt
21 include $(INCLUDE_DIR
)/uclibc
++.mk
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/cmake.mk
31 DEPENDS
:=$(CXX_DEPENDS
) +libncurses
+libpcap
+libpthread
32 TITLE
:=test tool
/ traffic generator for the SIP protocol
33 URL
:=http
://sipp.sourceforge.net
/
36 define Package
/sipp
/description
37 SIPp is a free Open Source
test tool
/ traffic generator for the SIP
38 protocol. It includes a few basic SipStone user agent scenarios
(UAC and
39 UAS
) and establishes and releases multiple calls with the INVITE and BYE
43 # Otherwise OpenWrt's CPPFLAGS are ignored
44 TARGET_CFLAGS
+= $(TARGET_CPPFLAGS
)
46 # Use "common" options, see build.sh (we don't have gsl though)
53 define Package
/sipp
/install
54 $(INSTALL_DIR
) $(1)/usr
/bin
55 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/sipp
$(1)/usr
/bin
58 $(eval
$(call BuildPackage
,sipp
))