Changeset 29991


Ignore:
Timestamp:
2012-02-02T14:16:56+01:00 (6 years ago)
Author:
jow
Message:

[packages] mc: use autoreconf fixup, remove custom Build/Prepare override, install Syntax directory, fix iconv depends (#10889)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/mc/Makefile

    r28135 r29991  
    11#  
    2 # Copyright (C) 2006-2011 OpenWrt.org 
     2# Copyright (C) 2006-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=mc 
    1111PKG_VERSION:=4.7.5.3 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    1717 
    1818PKG_BUILD_PARALLEL:=1 
     19PKG_FIXUP:=autoreconf 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
     
    2425  SECTION:=utils 
    2526  CATEGORY:=Utilities 
    26   DEPENDS:=+glib2 +libncurses +libiconv 
     27  DEPENDS:=+glib2 +libncurses $(ICONV_DEPENDS) 
    2728  TITLE:=midnight commander - a powerful file manager 
    2829  URL:=http://www.midnight-commander.org/ 
     
    7273endif 
    7374 
    74 AM_HOST=$(firstword $(wildcard $(STAGING_DIR_HOST)/share/automake-*)) 
    75  
    76 define Build/Prepare 
    77         $(Build/Prepare/Default) 
    78         for script in config.guess config.sub depcomp install-sh missing; do \ 
    79                 rm -f $(PKG_BUILD_DIR)/config/$$$$script; \ 
    80                 ln -s $(AM_HOST)/$$$$script $(PKG_BUILD_DIR)/config/$$$$script; \ 
    81         done 
    82 endef 
    83  
    8475define Package/mc/install 
    8576        $(INSTALL_DIR) $(1)/usr/bin 
     
    9586        $(INSTALL_DIR) $(1)/etc/mc/skins 
    9687        $(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/skins/default.ini $(1)/etc/mc/skins 
    97         $(INSTALL_DIR) $(1)/root/.mc 
     88        $(INSTALL_DIR) $(1)/root/.mc/cedit/Syntax 
    9889endef 
    9990 
Note: See TracChangeset for help on using the changeset viewer.