2005-05-31 11:17:33 +08:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# TCL8.4
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-02-13 22:51:28 +08:00
|
|
|
TCL_VERSION:=8.4.19
|
2005-05-31 11:17:33 +08:00
|
|
|
TCL_SOURCE:=tcl$(TCL_VERSION)-src.tar.gz
|
2005-06-09 20:15:00 +08:00
|
|
|
TCL_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/tcl
|
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
|
|
|
|
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 \
|
2005-05-31 11:17:33 +08:00
|
|
|
rm -Rf $(TARGET_DIR)/usr/lib/tcl8.4/encoding/*; \
|
|
|
|
fi
|
2010-09-21 05:26:09 +08:00
|
|
|
-if [ "$(BR2_PACKAGE_TCL_SHLIB_ONLY)" = "y" ]; then \
|
2005-05-31 11:17:33 +08:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/tclsh8.4; \
|
|
|
|
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
|
|
|
|
2011-09-30 03:57:43 +08:00
|
|
|
$(eval $(call AUTOTARGETS))
|