kumquat-buildroot/package/tk/tk.mk
Julien Olivain 7a52ee04a5 package/tk: bump to version 8.6.13
For release note, see:
https://sourceforge.net/projects/tcl/files/Tcl/8.6.13/tcltk-release-notes-8.6.13.txt

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-09-17 14:35:20 +02:00

32 lines
898 B
Makefile

################################################################################
#
# tk
#
################################################################################
TK_VERSION_MAJOR = 8.6
TK_VERSION = $(TK_VERSION_MAJOR).13
TK_SOURCE = tk$(TK_VERSION)-src.tar.gz
TK_SITE = http://downloads.sourceforge.net/project/tcl/Tcl/$(TK_VERSION)
TK_LICENSE = TCL
TK_LICENSE_FILES = license.terms
TK_SUBDIR = unix
TK_INSTALL_STAGING = YES
TK_DEPENDENCIES = tcl xlib_libX11 xlib_libXft
# hopefully our strtod is not buggy
TK_CONF_ENV = tcl_cv_strtod_buggy=no
TK_CONF_OPTS = --disable-rpath \
--with-tcl=$(BUILD_DIR)/tcl-$(TCL_VERSION)/unix \
--x-includes=$(STAGING_DIR)/usr/include \
--x-libraries=$(STAGING_DIR)/usr/lib
define TK_WISH_SYMLINK
ln -sf /usr/bin/wish$(TK_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/wish
endef
TK_POST_INSTALL_TARGET_HOOKS += TK_WISH_SYMLINK
$(eval $(autotools-package))