2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
).
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/sipp
17 PKG_MD5SUM
:=8866e9af0d3bc29e91ebb6eab89a7f1f
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
21 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:= +libncurses
+libpthread
+uclibcxx
27 TITLE
:=test tool
/ traffic generator for the SIP protocol
28 URL
:=http
://sipp.sourceforge.net
/
31 define Package
/sipp
/description
32 SIPp is a free Open Source
test tool
/ traffic generator for the SIP
33 protocol. It includes a few basic SipStone user agent scenarios
(UAC and
34 UAS
) and establishes and releases multiple calls with the INVITE and BYE
39 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
40 $(TARGET_CONFIGURE_OPTS
) \
41 CC_linux
="$(TARGET_CC)" \
42 CPP_linux
="$(TARGET_CC)" \
43 CCLINK_linux
="$(TARGET_CC)" \
44 CFLAGS
="$(TARGET_CFLAGS)" \
45 CPPFLAGS_linux
="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
46 LFLAGS_linux
="$(TARGET_LDFLAGS)" \
47 LIBS
="-nodefaultlibs -lncurses -luClibc++ -ldl -lpthread" \
51 define Package
/sipp
/install
52 $(INSTALL_DIR
) $(1)/usr
/sbin
53 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sipp
$(1)/usr
/sbin
/
56 $(eval
$(call BuildPackage
,sipp
))