Changeset 9989


Ignore:
Timestamp:
2007-12-28T17:54:46+01:00 (9 years ago)
Author:
olli
Message:

[Packages] utils/nano:

  • Update 2.0.6 > 2.0.7
  • Cleanup Makefile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/nano/Makefile

    r9695 r9989  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2007 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010 
    1111PKG_NAME:=nano 
    12 PKG_VERSION:=2.0.6 
     12PKG_VERSION:=2.0.7 
    1313PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1616PKG_SOURCE_URL:=http://www.nano-editor.org/dist/v2.0 
    17 PKG_MD5SUM:=619107f0fc3c4383d668cef15aa3ca32 
    18  
    19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install 
     17PKG_MD5SUM:=16187fed2bdefec6275ece6401ce4cd2 
    2118 
    2219include $(INCLUDE_DIR)/package.mk 
     
    3229 
    3330define Package/nano/description 
    34         GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone  
     31        GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone 
    3532        of the Pico text editor.. 
    3633endef 
    3734 
    38 define Build/Configure 
    39         $(call Build/Configure/Default, \ 
    40                 --enable-tiny \ 
    41                 --disable-glibtest \ 
    42                 --disable-utf8 \ 
    43                 --without-slang \ 
    44                 , \ 
    45                 ac_cv_header_regex_h=no \ 
    46         ) 
    47 endef 
     35CONFIGURE_ARGS += \ 
     36        --enable-tiny \ 
     37        --disable-glibtest \ 
     38        --disable-utf8 \ 
     39        --without-slang \ 
    4840 
    49 define Build/Compile     
    50         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    51                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    52                 all install 
    53 endef 
     41CONFIGURE_VARS += \ 
     42        ac_cv_header_regex_h=no \ 
    5443 
    5544define Package/nano/install      
    5645        $(INSTALL_DIR) $(1)/usr/bin 
    57         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nano $(1)/usr/bin/ 
     46        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/ 
    5847endef 
    5948 
Note: See TracChangeset for help on using the changeset viewer.