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)/uclibc++.mk
22 include $(INCLUDE_DIR)/package.mk
28 TITLE:=unrar application
29 URL:=http://www.rarlab.com/
30 DEPENDS:=$(CXX_DEPENDS)
33 define Package/unrar/description
34 unrar is an application that can decompress files and archives created using
35 the RAR compression scheme
38 define Build/Configure
39 $(call Build/Configure/Default, )
40 ln -s $(PKG_BUILD_DIR)/makefile.unix $(PKG_BUILD_DIR)/Makefile
43 define Package/unrar/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/
48 $(eval $(call BuildPackage,unrar))