Disable PKG_CHECK_FORMAT_SECURITY for miax, rtpproxy and sipp
[feed/telephony.git] / net / sipp / Makefile
1 #
2 # Copyright (C) 2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sipp
11 PKG_VERSION:=3.3.990
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/sipp
16 PKG_MD5SUM:=904fffbc277bafce28762ebb041b9620
17 PKG_CHECK_FORMAT_SECURITY:=0
18
19 include $(INCLUDE_DIR)/uclibc++.mk
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/sipp
23 SECTION:=net
24 CATEGORY:=Network
25 SUBMENU:=Telephony
26 DEPENDS:= +libncurses +libpthread $(CXX_DEPENDS)
27 TITLE:=test tool / traffic generator for the SIP protocol
28 URL:=http://sipp.sourceforge.net/
29 endef
30
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
35 methods.
36 endef
37
38 TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components 1 $(TAR_OPTIONS)
39
40 CONFIGURE_ARGS+= \
41 --build=$(GNU_HOST_NAME) \
42 --host=$(GNU_TARGET_NAME) \
43 --target=$(GNU_TARGET_NAME) \
44 --enable-epoll \
45 --without-gsl \
46 --without-pcap \
47 --with-rtpstream \
48 --without-sctp
49
50 define Build/Compile
51 $(MAKE) -C $(PKG_BUILD_DIR) \
52 $(TARGET_CONFIGURE_OPTS) \
53 CC_linux="$(TARGET_CXX)" \
54 CPP_linux="$(TARGET_CXX)" \
55 CCLINK_linux="$(TARGET_CXX)" \
56 CFLAGS="$(TARGET_CFLAGS)" \
57 CPPFLAGS_linux="$(TARGET_CPPFLAGS) -fno-rtti" \
58 LFLAGS_linux="$(TARGET_LDFLAGS)" \
59 LIBS="-lncurses -ldl -lpthread -lm" \
60 all
61 endef
62
63 define Package/sipp/install
64 $(INSTALL_DIR) $(1)/usr/sbin
65 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sipp $(1)/usr/sbin/
66 endef
67
68 $(eval $(call BuildPackage,sipp))