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
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
30 SIPp is a free Open Source
test tool
/ traffic generator for the SIP protocol.
\\\
31 It includes a few basic SipStone user agent scenarios
(UAC and UAS
) and
\\\
32 establishes and releases multiple calls with the INVITE and BYE methods.
\\\
33 URL
:=http
://sipp.sourceforge.net
37 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
38 $(TARGET_CONFIGURE_OPTS
) \
39 CC_linux
="$(TARGET_CC)" \
40 CPP_linux
="$(TARGET_CC)" \
41 CCLINK_linux
="$(TARGET_CC)" \
42 CFLAGS
="$(TARGET_CFLAGS)" \
43 CPPFLAGS_linux
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -nostdinc++" \
44 LFLAGS_linux
="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
45 LIBS
="-luClibc++ -lc -lm -lgcc -lpthread -ldl -lncurses" \
49 define Package
/sipp
/install
50 $(INSTALL_DIR
) $(1)/usr
/sbin
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
54 $(eval
$(call BuildPackage
,sipp
))