packages/utils/unrar/Makefile
blogic ff0446f61d [packages] unrar libc++ fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-03 21:35:49 +00:00

49 lines
1.1 KiB
Makefile

#
# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=unrar
PKG_VERSION:=4.0.7
PKG_RELEASE:=1
PKG_SOURCE:=unrarsrc-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.rarlab.com/rar
PKG_MD5SUM:=41b0a9bca945b4ae2608421afd8f606e
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
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=compression
TITLE:=unrar application
URL:=http://www.rarlab.com/
DEPENDS:=$(CXX_DEPENDS)
endef
define Package/unrar/description
unrar is an application that can decompress files and archives created using
the RAR compression scheme
endef
define Build/Configure
$(call Build/Configure/Default, )
ln -s $(PKG_BUILD_DIR)/makefile.unix $(PKG_BUILD_DIR)/Makefile
endef
define Package/unrar/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/
endef
$(eval $(call BuildPackage,unrar))