2005-05-31 11:17:33 +08:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# TCL8.4
|
|
|
|
#
|
|
|
|
#############################################################
|
2012-01-24 21:59:26 +08:00
|
|
|
TCL_VERSION_MAJOR = 8.4
|
|
|
|
TCL_VERSION_MINOR = 19
|
|
|
|
TCL_VERSION = $(TCL_VERSION_MAJOR).$(TCL_VERSION_MINOR)
|
2012-01-24 04:23:24 +08:00
|
|
|
TCL_SOURCE = tcl$(TCL_VERSION)-src.tar.gz
|
2012-08-26 07:52:48 +08:00
|
|
|
TCL_SITE = http://downloads.sourceforge.net/project/tcl/Tcl/$(TCL_VERSION_MAJOR).$(TCL_VERSION_MINOR)
|
2010-02-13 22:51:28 +08:00
|
|
|
TCL_SUBDIR = unix
|
|
|
|
TCL_CONF_OPT = \
|
2005-05-31 11:17:33 +08:00
|
|
|
--disable-symbols \
|
|
|
|
--disable-langinfo \
|
2010-02-13 22:51:28 +08:00
|
|
|
--disable-framework
|
2005-05-31 11:17:33 +08:00
|
|
|
|
2012-01-24 04:23:24 +08:00
|
|
|
HOST_TCL_CONF_OPT = \
|
|
|
|
--disable-symbols \
|
|
|
|
--disable-langinfo \
|
|
|
|
--disable-framework
|
|
|
|
|
2010-02-13 22:51:28 +08:00
|
|
|
define TCL_POST_INSTALL_CLEANUP
|
2007-10-02 00:15:31 +08:00
|
|
|
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libtcl8.4.so
|
2010-09-21 05:26:09 +08:00
|
|
|
-if [ "$(BR2_PACKAGE_TCL_DEL_ENCODINGS)" = "y" ]; then \
|
2012-01-24 21:59:26 +08:00
|
|
|
rm -Rf $(TARGET_DIR)/usr/lib/tcl$(TCL_VERSION_MAJOR)/encoding/*; \
|
2005-05-31 11:17:33 +08:00
|
|
|
fi
|
2010-09-21 05:26:09 +08:00
|
|
|
-if [ "$(BR2_PACKAGE_TCL_SHLIB_ONLY)" = "y" ]; then \
|
2012-01-24 21:59:26 +08:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/tclsh$(TCL_VERSION_MAJOR); \
|
2005-05-31 11:17:33 +08:00
|
|
|
fi
|
2010-02-13 22:51:28 +08:00
|
|
|
endef
|
2005-05-31 11:17:33 +08:00
|
|
|
|
2010-02-13 22:51:28 +08:00
|
|
|
TCL_POST_INSTALL_TARGET_HOOKS += TCL_POST_INSTALL_CLEANUP
|
2005-05-31 11:17:33 +08:00
|
|
|
|
2012-07-03 06:07:32 +08:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 06:06:54 +08:00
|
|
|
$(eval $(host-autotools-package))
|