2 # Copyright (C) 2006-2015 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/$(PKG_NAME)
16 PKG_MD5SUM:=d7cbb91f1ded1919370a30edd1534304
19 PKG_LICENSE_FILES:=license.terms
20 PKG_MAINTAINER:=Joe Mistachkin <joe@mistachkin.com>
22 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
27 include $(INCLUDE_DIR)/package.mk
33 DEPENDS:=+libpthread @BROKEN
34 TITLE:=The Tcl language
35 URL:=http://www.tcl.tk/
38 define Package/tcl/description
39 Tcl, or Tool Command Language, is a an elegant, versatile, feature-rich,
40 simple-to-learn yet very powerful industrial-strength open-source
41 programming language and development platform. It is renowned for its
42 stability and utility, and its emphasis on providing a cross-platform
43 programming API makes it an ideal choice for an enormous variety of
47 CONFIGURE_PATH := unix
50 tcl_cv_strtod_unbroken=ok
57 define Build/InstallDev
58 $(INSTALL_DIR) $(1)/usr/include
59 $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
61 $(INSTALL_DIR) $(1)/usr/lib
62 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcl*.{a,so*} $(1)/usr/lib/
65 define Package/tcl/install
66 $(INSTALL_DIR) $(1)/usr/lib
67 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so $(1)/usr/lib
69 $(INSTALL_DIR) $(1)/usr/bin
70 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
73 $(eval $(call BuildPackage,tcl))