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