[packages] pcapsipdump libc++ fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32983 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -9,19 +9,20 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=pcapsipdump
|
PKG_NAME:=pcapsipdump
|
||||||
PKG_VERSION:=0.1.4
|
PKG_VERSION:=0.1.4
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/psipdump
|
PKG_SOURCE_URL:=@SF/psipdump
|
||||||
PKG_MD5SUM:=95ed26caf66237a654cae2cacdaa3386
|
PKG_MD5SUM:=95ed26caf66237a654cae2cacdaa3386
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/pcapsipdump
|
define Package/pcapsipdump
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
SUBMENU:=Telephony
|
SUBMENU:=Telephony
|
||||||
DEPENDS:=+libpcap +uclibcxx
|
DEPENDS:=+libpcap $(CXX_DEPENDS)
|
||||||
TITLE:=SIP sessions dumping tool
|
TITLE:=SIP sessions dumping tool
|
||||||
URL:=http://sourceforge.net/projects/pcapsipdump/
|
URL:=http://sourceforge.net/projects/pcapsipdump/
|
||||||
endef
|
endef
|
||||||
@ -32,12 +33,13 @@ define Package/pcapsipdump/description
|
|||||||
(even if there is thousands of concurrect SIP sessions).
|
(even if there is thousands of concurrect SIP sessions).
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_CC=$(TARGET_CXX)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
|
CPPFLAGS="$(TARGET_CXXFLAGS) -fno-rtti" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
LIBS="-lpcap"
|
||||||
LIBS="-lpcap -luClibc++"
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pcapsipdump/install
|
define Package/pcapsipdump/install
|
||||||
|
Reference in New Issue
Block a user