diff options
author | Russell Standish <hpcoder@hpcoders.com.au> | 2016-09-23 06:15:56 (GMT) |
---|---|---|
committer | Russell Standish <hpcoder@hpcoders.com.au> | 2017-11-26 00:20:36 (GMT) |
commit | cf141873b2500daeb93171d71c119288acc8139a (patch) | |
tree | 64a21f439d88b10ed5bf912adae30a5881b344cd /plugins | |
parent | 3198f4432d2aa1f37e501bdf74899594fd8d8f7b (diff) | |
download | mxe-cf141873b2500daeb93171d71c119288acc8139a.zip mxe-cf141873b2500daeb93171d71c119288acc8139a.tar.gz mxe-cf141873b2500daeb93171d71c119288acc8139a.tar.bz2 |
Added in Tktable.mk
Renamed the TkTable package to tktable
Found some work arounds to get the install target to work correctly,
and for the dynamic build to build correctly.
Ditto. Last commit missed this file??
Fix indentation per Boris's comments.
Apply Tony Theodore's style suggestions
BUILD_DIR is a separate directory to where the package is unpacked.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/tcl.tk/tktable.mk | 37 |
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 |