2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)$(PKG_VERSION
)-src.
tar.gz
15 PKG_SOURCE_URL
:=@SF
/tcl
16 PKG_MD5SUM
:=7f123e53b3daaaba2478d3af5a0752e3
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
30 URL
:=http
://www.tcl.tk
33 define Package
/tcl
/description
34 Tcl
(Tool Command Language
) is a very powerful but easy to learn dynamic
35 programming language
, suitable for a very wide range of uses
, including web and
36 desktop applications
, networking
, administration
, testing and many more. Open
37 source and business-friendly
, Tcl is a mature yet evolving language that is truly
38 cross platform
, easily deployed and highly extensible.
41 CONFIGURE_PATH
:= unix
44 tcl_cv_strtod_unbroken
=ok
51 define Build
/InstallDev
52 $(INSTALL_DIR
) $(1)/usr
/include
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/*.h
$(1)/usr
/include/
55 $(INSTALL_DIR
) $(1)/usr
/lib
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtcl
*.
{a
,so
*} $(1)/usr
/lib
/
59 define Package
/tcl
/install
60 $(INSTALL_DIR
) $(1)/usr
/lib
61 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
$(1)/usr
/lib
63 $(INSTALL_DIR
) $(1)/usr
/bin
64 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
67 $(eval
$(call BuildPackage
,tcl
))