Changeset 28135


Ignore:
Timestamp:
2011-08-30T23:02:36+02:00 (6 years ago)
Author:
luka
Message:

upgrade mc package

Location:
packages/utils/mc
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/mc/Makefile

    r27719 r28135  
    99 
    1010PKG_NAME:=mc 
    11 PKG_VERSION:=4.7.5.2 
    12 PKG_RELEASE:=3 
     11PKG_VERSION:=4.7.5.3 
     12PKG_RELEASE:=1 
    1313 
    14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1515PKG_SOURCE_URL:=http://www.midnight-commander.org/downloads/ 
    16 PKG_MD5SUM:=9fdfe7c0fcff362436eb35fcd1adf0fd 
     16PKG_MD5SUM:=6a67e139e0032d8a871455a80d490941 
    1717 
    1818PKG_BUILD_PARALLEL:=1 
     
    2929  SUBMENU:=filemanager 
    3030  MAINTAINER:=Luka Perkov <openwrt@lukaperkov.net> 
     31  MENU:=1 
     32endef 
     33 
     34define Package/mc/config 
     35        source "$(SOURCE)/Config.in" 
    3136endef 
    3237 
     
    4146CONFIGURE_ARGS += \ 
    4247        --enable-utf8 \ 
    43         --disable-vfs \ 
     48        --disable-doxygen-doc \ 
    4449        --with-screen=ncurses \ 
    45         --without-edit \ 
    4650        --without-gpm-mouse \ 
    47         --without-subshell \ 
    4851        --without-x \ 
    4952        ac_cv_search_addwstr=no 
     53 
     54ifeq ($(CONFIG_MC_DIFF_VIEWER),n) 
     55CONFIGURE_ARGS += \ 
     56        --without-diff-viewer 
     57endif 
     58 
     59ifeq ($(CONFIG_MC_EDITOR),n) 
     60CONFIGURE_ARGS += \ 
     61        --without-edit 
     62endif 
     63 
     64ifeq ($(CONFIG_MC_SUBSHELL),n) 
     65CONFIGURE_ARGS += \ 
     66        --without-subshell 
     67endif 
     68 
     69ifeq ($(CONFIG_MC_DISABLE_VFS),y) 
     70CONFIGURE_ARGS += \ 
     71        --without-vfs 
     72endif 
    5073 
    5174AM_HOST=$(firstword $(wildcard $(STAGING_DIR_HOST)/share/automake-*)) 
     
    6184define Package/mc/install 
    6285        $(INSTALL_DIR) $(1)/usr/bin 
    63         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mc $(1)/usr/bin/ 
     86        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mc $(1)/usr/bin 
    6487        $(INSTALL_DIR) $(1)/etc/mc 
     88ifeq ($(CONFIG_MC_DIFF_VIEWER),y) 
     89        ln -sf mc $(1)/usr/bin/mcdiff 
     90endif 
     91ifeq ($(CONFIG_MC_EDITOR),y) 
     92        ln -sf mc $(1)/usr/bin/mcedit 
     93endif 
    6594        $(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/mc.menu $(1)/etc/mc 
    6695        $(INSTALL_DIR) $(1)/etc/mc/skins 
Note: See TracChangeset for help on using the changeset viewer.