[packages] unrar libc++ fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32972 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6b48c79e31
commit
ff0446f61d
@ -18,6 +18,7 @@ PKG_MD5SUM:=41b0a9bca945b4ae2608421afd8f606e
|
|||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/unrar
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/unrar
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/unrar
|
define Package/unrar
|
||||||
@ -26,7 +27,7 @@ define Package/unrar
|
|||||||
SUBMENU:=compression
|
SUBMENU:=compression
|
||||||
TITLE:=unrar application
|
TITLE:=unrar application
|
||||||
URL:=http://www.rarlab.com/
|
URL:=http://www.rarlab.com/
|
||||||
DEPENDS:=+uclibcxx
|
DEPENDS:=$(CXX_DEPENDS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/unrar/description
|
define Package/unrar/description
|
||||||
@ -39,9 +40,6 @@ define Build/Configure
|
|||||||
ln -s $(PKG_BUILD_DIR)/makefile.unix $(PKG_BUILD_DIR)/Makefile
|
ln -s $(PKG_BUILD_DIR)/makefile.unix $(PKG_BUILD_DIR)/Makefile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
|
||||||
CXX="$(STAGING_DIR)/host/bin/g++-uc"
|
|
||||||
|
|
||||||
define Package/unrar/install
|
define Package/unrar/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user