2005-05-31 05:17:33 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# TCL8.4
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-02-13 15:51:28 +01:00
|
|
|
TCL_VERSION:=8.4.19
|
2005-05-31 05:17:33 +02:00
|
|
|
TCL_SOURCE:=tcl$(TCL_VERSION)-src.tar.gz
|
2005-06-09 14:15:00 +02:00
|
|
|
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
|
|
|
--enable-shared \
|
|
|
|
--disable-symbols \
|
|
|
|
--disable-langinfo \
|
2010-02-13 15:51:28 +01:00
|
|
|
--disable-framework
|
2005-05-31 05:17:33 +02:00
|
|
|
|
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 \
|
2005-05-31 05:17:33 +02:00
|
|
|
rm -Rf $(TARGET_DIR)/usr/lib/tcl8.4/encoding/*; \
|
|
|
|
fi
|
2010-09-20 23:26:09 +02:00
|
|
|
-if [ "$(BR2_PACKAGE_TCL_SHLIB_ONLY)" = "y" ]; then \
|
2005-05-31 05:17:33 +02:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/tclsh8.4; \
|
|
|
|
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
|
|
|
|
2010-02-13 15:51:28 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,tcl))
|