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
SUBMENU:=compression
TITLE:=unrar application
URL:=http://www.rarlab.com/
- DEPENDS:=+uclibcxx
+ DEPENDS:=$(CXX_DEPENDS)
endef
define Package/unrar/description
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/