You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=unrar
  9. PKG_VERSION:=5.2.5
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=unrarsrc-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.rarlab.com/rar
  13. PKG_MD5SUM:=ba69acb6c17fb4829ea7440079001c36
  14. PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
  15. PKG_LICENSE:=UnRAR
  16. PKG_LICENSE_FILES:=license.txt
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/unrar
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/uclibc++.mk
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/unrar
  22. SECTION:=utils
  23. CATEGORY:=Utilities
  24. SUBMENU:=Compression
  25. TITLE:=UnRAR application
  26. URL:=http://www.rarlab.com/
  27. DEPENDS:=$(CXX_DEPENDS) +libpthread
  28. endef
  29. define Package/unrar/description
  30. UnRAR is an application that can decompress files and archives created using
  31. the RAR compression scheme
  32. endef
  33. define Build/Configure
  34. endef
  35. define Package/unrar/install
  36. $(INSTALL_DIR) $(1)/usr/bin
  37. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/
  38. endef
  39. $(eval $(call BuildPackage,unrar))