2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=unrarsrc-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.rarlab.com/rar
16 PKG_MD5SUM:=41b0a9bca945b4ae2608421afd8f606e
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/unrar
21 include $(INCLUDE_DIR)/package.mk
27 TITLE:=unrar application
28 URL:=http://www.rarlab.com/
32 define Package/unrar/description
33 unrar is an application that can decompress files and archives created using
34 the RAR compression scheme
37 define Build/Configure
38 $(call Build/Configure/Default, )
39 ln -s $(PKG_BUILD_DIR)/makefile.unix $(PKG_BUILD_DIR)/Makefile
43 CXX="$(STAGING_DIR)/host/bin/g++-uc"
45 define Package/unrar/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/
50 $(eval $(call BuildPackage,unrar))