2 # Copyright (C) 2009-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/pcapsipdump
16 PKG_MD5SUM
:=2c04c54c3478f7cb94978d54538006d2
19 PKG_LICENSE_FILES
:=LICENSE
21 include $(INCLUDE_DIR
)/uclibc
++.mk
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/pcapsipdump
28 DEPENDS
:=+libpcap
$(CXX_DEPENDS
)
29 TITLE
:=SIP sessions dumping tool
30 URL
:=http
://sourceforge.net
/projects
/pcapsipdump
/
33 define Package
/pcapsipdump
/description
34 pcapsipdump is a tool for dumping SIP sessions
(+RTP traffic
, if available
) to disk in a
35 fashion similar to
"tcpdump -w" (format is exactly the same
), but one file per sip session
36 (even if there is thousands of concurrect SIP sessions
).
39 TARGET_CC
=$(TARGET_CXX
)
42 $(TARGET_CONFIGURE_OPTS
) \
43 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
44 CPPFLAGS
="$(TARGET_CXXFLAGS) $(TARGET_CPPFLAGS) -fno-rtti" \
45 LDFLAGS
="$(TARGET_LDFLAGS)" \
49 define Package
/pcapsipdump
/install
50 $(INSTALL_DIR
) $(1)/usr
/bin
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/pcapsipdump
$(1)/usr
/bin
/
54 $(eval
$(call BuildPackage
,pcapsipdump
))