Changeset 24908


Ignore:
Timestamp:
2011-01-05T12:28:33+01:00 (7 years ago)
Author:
swalker
Message:

[packages] unrar: update to 4.0.4, link against uclibcxx, use PKG_INSTALL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/unrar/Makefile

    r20411 r24908  
    11# 
    2 # Copyright (C) 2006-2009 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=unrar 
    11 PKG_VERSION:=3.8.5 
     11PKG_VERSION:=4.0.4 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=unrarsrc-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://www.rarlab.com/rar 
    16 PKG_MD5SUM:=875688e6a144a3f75d2a6a0da3e43f8b 
     16PKG_MD5SUM:=203bc1e43935124db9635262cfd00b3f 
    1717 
    1818PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/unrar 
     19PKG_INSTALL:=1 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
     
    2526  TITLE:=unrar application 
    2627  URL:=http://www.rarlab.com/ 
    27   DEPENDS:=+libstdcpp 
     28  DEPENDS:=+uclibcxx 
    2829endef 
    2930 
    3031define Package/unrar/description 
    31    unrar is an application that can decompress files and archives created using the RAR compression scheme 
     32   unrar is an application that can decompress files and archives created using 
     33   the RAR compression scheme 
    3234endef 
    3335 
     
    3739endef 
    3840 
     41MAKE_FLAGS += \ 
     42        CXX="$(STAGING_DIR)/host/bin/g++-uc" 
     43 
    3944define Package/unrar/install 
    4045        $(INSTALL_DIR) $(1)/usr/bin 
    41         $(INSTALL_BIN) $(PKG_BUILD_DIR)/unrar $(1)/usr/bin/ 
     46        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/ 
    4247endef 
    43   
     48 
    4449$(eval $(call BuildPackage,unrar)) 
Note: See TracChangeset for help on using the changeset viewer.