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
29 URL:=http://www.tcl.tk
32 define Package/tcl/description
33 Tcl (Tool Command Language) is a very powerful but easy to learn dynamic
34 programming language, suitable for a very wide range of uses, including web and
35 desktop applications, networking, administration, testing and many more. Open
36 source and business-friendly, Tcl is a mature yet evolving language that is truly
37 cross platform, easily deployed and highly extensible.
40 CONFIGURE_PATH := unix
43 tcl_cv_strtod_unbroken=ok
50 define Build/InstallDev
51 $(INSTALL_DIR) $(1)/usr/include
52 $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
54 $(INSTALL_DIR) $(1)/usr/lib
55 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcl*.{a,so*} $(1)/usr/lib/
58 define Package/tcl/install
59 $(INSTALL_DIR) $(1)/usr/lib
60 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so $(1)/usr/lib
62 $(INSTALL_DIR) $(1)/usr/bin
63 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
66 $(eval $(call BuildPackage,tcl))