summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-11-26 00:59:50 (GMT)
committerGitHub <noreply@github.com>2017-11-26 00:59:50 (GMT)
commitb78b44b652af4425873b64babd1eb0fb249a7979 (patch)
tree983861ce9c924600bd5da0fb77ee35845460357a /plugins
parent17c91900b79cf196e4d7f1b0cd06fa388a67cf9b (diff)
parentcf141873b2500daeb93171d71c119288acc8139a (diff)
downloadmxe-b78b44b652af4425873b64babd1eb0fb249a7979.zip
mxe-b78b44b652af4425873b64babd1eb0fb249a7979.tar.gz
mxe-b78b44b652af4425873b64babd1eb0fb249a7979.tar.bz2
Merge pull request #1525 from highperformancecoder/TkTable
Added in Tktable.mk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/tcl.tk/tktable.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/tcl.tk/tktable.mk b/plugins/tcl.tk/tktable.mk
new file mode 100644
index 0000000..5563799
--- /dev/null
+++ b/plugins/tcl.tk/tktable.mk
@@ -0,0 +1,37 @@
+# This file is part of MXE. See LICENSE.md for further information.
+
+PKG := tktable
+$(PKG)_OWNER := https://github.com/highperformancecoder
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 2.11.D3
+$(PKG)_CHECKSUM := fb9fcedd2c1e252653225ac235d50cad01083b6851206bb0e5e63ecfa575fd5e
+$(PKG)_SUBDIR := TkTable.$($(PKG)_VERSION)
+$(PKG)_FILE := TkTable.$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := https://sourceforge.net/projects/minsky/files/Sources/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc tk
+
+# Note, the official tktable project at
+# https://sourceforge.net/projects/tktable/ appears to be abandoned,
+# with the last release dated 15/11/2008.
+
+# The releases hosted by the Minsky project are privately maintained by Russell
+# Standish, and based of the CVS head, with a couple of important
+# patches.
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'https://sourceforge.net/projects/minsky/files/Sources/' | \
+ $(SED) -n 's,.*TkTable\.\([0-9][^>]*\)\.tar.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
+ $(MXE_CONFIGURE_OPTS) \
+ --without-x \
+ --with-tcl=$(PREFIX)/$(TARGET)/lib \
+ --with-tk=$(PREFIX)/$(TARGET)/lib
+ # bizarrely, the Makefile links against -lX11 for no reason, even if
+ # --without-x is specified
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' LIBS=
+ $(MAKE) -C '$(BUILD_DIR)' PKG_DIR= install
+endef