[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

18
package/tk/Config.in Normal file
View File

@ -0,0 +1,18 @@
config BR2_PACKAGE_TK
bool "tk"
depends on BR2_USE_MMU # tcl
depends on BR2_TOOLCHAIN_HAS_THREADS # tcl
depends on !BR2_STATIC_LIBS # tcl
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_TCL
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXFT
help
A windowing toolkit for use with tcl
http://www.tcl.tk
comment "tk needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_XORG7
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

3
package/tk/tk.hash Normal file
View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 12395c1f3fcb6bed2938689f797ea3cdf41ed5cb6c4766eec8ac949560310630 tk8.6.12-src.tar.gz
sha256 2cde822b93ca16ae535c954b7dfe658b4ad10df2a193628d1b358f1765e8b198 license.terms

31
package/tk/tk.mk Normal file
View File

@ -0,0 +1,31 @@
################################################################################
#
# tk
#
################################################################################
TK_VERSION_MAJOR = 8.6
TK_VERSION = $(TK_VERSION_MAJOR).12
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))