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
14 PKG_MD5SUM
:=8866e9af0d3bc29e91ebb6eab89a7f1f
16 PKG_SOURCE_URL
:=@SF
/sipp
17 PKG_SOURCE
:=$(PKG_NAME
).
$(PKG_VERSION
).
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
22 include $(INCLUDE_DIR
)/package.mk
27 DEPENDS
:=+uclibcxx
+libpthread
+libncurses
28 TITLE
:=test tool
/ traffic generator for the SIP protocol
29 DESCRIPTION
:=SIPp is a free Open Source
test tool
/ traffic generator for the SIP protocol.
\\\
30 It includes a few basic SipStone user agent scenarios
(UAC and UAS
) and
\\\
31 establishes and releases multiple calls with the INVITE and BYE methods.
\\\
32 URL
:=http
://sipp.sourceforge.net
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
37 $(TARGET_CONFIGURE_OPTS
) \
38 CC_linux
="$(TARGET_CC)" \
39 CPP_linux
="$(TARGET_CC)" \
40 CCLINK_linux
="$(TARGET_CC)" \
41 CFLAGS
="$(TARGET_CFLAGS)" \
42 CPPFLAGS_linux
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -nostdinc++" \
43 LFLAGS_linux
="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
44 LIBS
="-luClibc++ -lc -lm -lgcc -lpthread -ldl -lncurses" \
48 define Package
/sipp
/install
49 mkdir
-p
$(1)/usr
/sbin
50 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
53 $(eval
$(call BuildPackage
,sipp
))