[package] update loop-aes to 3.2h (#6277)
[openwrt/svn-archive/archive.git] / utils / unrar / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=unrar
11 PKG_VERSION:=3.8.5
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=unrarsrc-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.rarlab.com/rar
16 PKG_MD5SUM:=875688e6a144a3f75d2a6a0da3e43f8b
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/unrar
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/unrar
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=unrar application
26 URL:=http://www.rarlab.com/
27 DEPENDS:=+uclibcxx
28 endef
29
30 define Package/unrar/description
31 unrar is an application that can decompress files and archives created using the RAR compression scheme
32 endef
33
34 define Build/Configure
35 $(call Build/Configure/Default, )
36 ln -s $(PKG_BUILD_DIR)/makefile.unix $(PKG_BUILD_DIR)/Makefile
37 endef
38
39 define Package/unrar/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/unrar $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,unrar))