Add sipp package.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
parent
826fb12982
commit
2dc1442828
1 changed files with 60 additions and 0 deletions
60
sipp/Makefile
Normal file
60
sipp/Makefile
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2013 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=sipp
|
||||||
|
PKG_VERSION:=3.3
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
PKG_SOURCE_URL:=@SF/sipp
|
||||||
|
PKG_MD5SUM:=8c1d513423f9dabee799e738b737e311
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/sipp
|
||||||
|
SECTION:=net
|
||||||
|
CATEGORY:=Network
|
||||||
|
SUBMENU:=Telephony
|
||||||
|
DEPENDS:= +libncurses +libpthread $(CXX_DEPENDS)
|
||||||
|
TITLE:=test tool / traffic generator for the SIP protocol
|
||||||
|
URL:=http://sipp.sourceforge.net/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/sipp/description
|
||||||
|
SIPp is a free Open Source test tool / traffic generator for the SIP
|
||||||
|
protocol. It includes a few basic SipStone user agent scenarios (UAC and
|
||||||
|
UAS) and establishes and releases multiple calls with the INVITE and BYE
|
||||||
|
methods.
|
||||||
|
endef
|
||||||
|
|
||||||
|
TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components 1 $(TAR_OPTIONS)
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
CC_linux="$(TARGET_CXX)" \
|
||||||
|
CPP_linux="$(TARGET_CXX)" \
|
||||||
|
CCLINK_linux="$(TARGET_CXX)" \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
CPPFLAGS_linux="$(TARGET_CPPFLAGS) -fno-rtti" \
|
||||||
|
LFLAGS_linux="$(TARGET_LDFLAGS)" \
|
||||||
|
LIBS="-lncurses -ldl -lpthread -lm" \
|
||||||
|
all
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/sipp/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sipp $(1)/usr/sbin/
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,sipp))
|
Loading…
Reference in a new issue