Changeset 22449


Ignore:
Timestamp:
2010-08-01T00:33:37+02:00 (8 years ago)
Author:
florian
Message:

[package] update tcl to 8.5.8, clean-up makefile, use PKG_INSTALL, patch from Raphael Huck

Location:
packages/lang/tcl
Files:
2 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/tcl/Makefile

    r18816 r22449  
    1 #  
    2 # Copyright (C) 2008 OpenWrt.org 
     1# 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
    55# See /LICENSE for more information. 
    66# 
     7 
    78include $(TOPDIR)/rules.mk 
    89 
    910PKG_NAME:=tcl 
    10 PKG_VERSION:=8.4.19 
     11PKG_VERSION:=8.5.8 
    1112PKG_RELEASE:=1 
    1213 
    13 PKG_SOURCE:=tcl$(PKG_VERSION)-src.tar.gz 
     14PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION)-src.tar.gz 
    1415PKG_SOURCE_URL:=@SF/tcl 
    15 PKG_MD5SUM:=ade2c033a7b545ee108f3fdfeb629fcf 
     16PKG_MD5SUM:=7f123e53b3daaaba2478d3af5a0752e3 
    1617 
    1718PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION) 
     19 
     20PKG_FIXUP:=libtool 
     21PKG_INSTALL:=1 
    1822 
    1923include $(INCLUDE_DIR)/package.mk 
     
    2731 
    2832define Package/tcl/description 
    29         TCL Scripting Language 
     33Tcl (Tool Command Language) is a very powerful but easy to learn dynamic 
     34programming language, suitable for a very wide range of uses, including web and 
     35desktop applications, networking, administration, testing and many more. Open 
     36source and business-friendly, Tcl is a mature yet evolving language that is truly 
     37cross platform, easily deployed and highly extensible. 
    3038endef 
    3139 
    32 define Build/Configure 
    33         (cd $(PKG_BUILD_DIR)/unix; \ 
    34         autoconf configure.in > configure; \ 
    35         sed -i.bak "s/relid'/relid/" configure; \ 
    36         $(TARGET_CONFIGURE_OPTS) \ 
    37         ./configure \ 
    38                 --build=$(GNU_HOST_NAME) \ 
    39                 --host=$(GNU_TARGET_NAME) \ 
    40                 --prefix=/usr \ 
    41                 --enable-gcc \ 
    42                 --enable-threads \ 
    43                 --disable-nls \ 
    44         ) 
    45 endef 
     40CONFIGURE_PATH := unix 
    4641 
    47 define Build/Compile 
    48         $(MAKE) -C $(PKG_BUILD_DIR)/unix \ 
    49                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    50                 all install 
    51 endef 
     42CONFIGURE_VARS += \ 
     43        tcl_cv_strtod_unbroken=ok 
     44 
     45CONFIGURE_ARGS += \ 
     46        --enable-threads 
     47 
     48MAKE_PATH := unix 
    5249 
    5350define Build/InstallDev 
    5451        $(INSTALL_DIR) $(1)/usr/include 
    5552        $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ 
     53 
    5654        $(INSTALL_DIR) $(1)/usr/lib 
    5755        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcl*.{a,so*} $(1)/usr/lib/ 
    5856endef 
    5957 
    60  
    6158define Package/tcl/install 
    6259        $(INSTALL_DIR) $(1)/usr/lib 
    6360        $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so $(1)/usr/lib 
     61 
    6462        $(INSTALL_DIR) $(1)/usr/bin 
    6563        $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin 
Note: See TracChangeset for help on using the changeset viewer.