[packages] cbtt libc++ fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32975 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a08f2e35de
commit
e35b1ea0ae
@ -8,21 +8,22 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=cbtt
|
PKG_NAME:=cbtt
|
||||||
PKG_VERSION:=20060727
|
PKG_VERSION:=20060727
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)80-$(PKG_VERSION)-src.tar.gz
|
PKG_SOURCE:=$(PKG_NAME)80-$(PKG_VERSION)-src.tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/bnbtusermods
|
PKG_SOURCE_URL:=@SF/bnbtusermods
|
||||||
PKG_MD5SUM:=d6edf0a11d7e68fa3d121e91308f22f5
|
PKG_MD5SUM:=d6edf0a11d7e68fa3d121e91308f22f5
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)80-$(PKG_VERSION)-src
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)80-$(PKG_VERSION)-src
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/cbtt/Default
|
define Package/cbtt/Default
|
||||||
SUBMENU:=BitTorrent
|
SUBMENU:=BitTorrent
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=+libpthread +uclibcxx +zlib
|
DEPENDS:=+libpthread $(CXX_DEPENDS) +zlib
|
||||||
TITLE:=Bittorrent tracker
|
TITLE:=Bittorrent tracker
|
||||||
URL:=http://bnbtusermods.sourceforge.net/
|
URL:=http://bnbtusermods.sourceforge.net/
|
||||||
endef
|
endef
|
||||||
@ -43,8 +44,8 @@ define Build/Template
|
|||||||
$(STAMP_BUILT)-$(2): $(STAMP_PREPARED)
|
$(STAMP_BUILT)-$(2): $(STAMP_PREPARED)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -nostdinc++" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LFLAGS="$(TARGET_LDFLAGS) -L. -nodefaultlibs -lc $(4) -lz -luClibc++ -lm -lpthread $(LIBGCC_S)" \
|
LFLAGS="$(TARGET_LDFLAGS) -L. $(4) -lz -lm -lpthread" \
|
||||||
$(3)
|
$(3)
|
||||||
touch $$@
|
touch $$@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user