[packages] unrar libc++ fix

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32972 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-08-03 21:35:49 +00:00
parent 6b48c79e31
commit ff0446f61d

View File

@ -18,6 +18,7 @@ PKG_MD5SUM:=41b0a9bca945b4ae2608421afd8f606e
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/unrar
PKG_INSTALL:=1
include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
define Package/unrar
@ -26,7 +27,7 @@ define Package/unrar
SUBMENU:=compression
TITLE:=unrar application
URL:=http://www.rarlab.com/
DEPENDS:=+uclibcxx
DEPENDS:=$(CXX_DEPENDS)
endef
define Package/unrar/description
@ -39,9 +40,6 @@ define Build/Configure
ln -s $(PKG_BUILD_DIR)/makefile.unix $(PKG_BUILD_DIR)/Makefile
endef
MAKE_FLAGS += \
CXX="$(STAGING_DIR)/host/bin/g++-uc"
define Package/unrar/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/