diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-12-08 01:10:26 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-12-08 01:10:26 (GMT) |
commit | 0ce7656f60ca2d8b2aa392e9561fd581ad171195 (patch) | |
tree | 50de963031ba11a5169c5c885166e546c9622eeb /plugins/tcl.tk/tcl.mk | |
parent | 724242f158e6c0f3f7211dde1000f4b3203dcf35 (diff) | |
download | mxe-0ce7656f60ca2d8b2aa392e9561fd581ad171195.zip mxe-0ce7656f60ca2d8b2aa392e9561fd581ad171195.tar.gz mxe-0ce7656f60ca2d8b2aa392e9561fd581ad171195.tar.bz2 |
move TCL/Tk to plugins/tcl.tk
Diffstat (limited to 'plugins/tcl.tk/tcl.mk')
-rw-r--r-- | plugins/tcl.tk/tcl.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/tcl.tk/tcl.mk b/plugins/tcl.tk/tcl.mk new file mode 100644 index 0000000..0d86e43 --- /dev/null +++ b/plugins/tcl.tk/tcl.mk @@ -0,0 +1,29 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := tcl +$(PKG)_WEBSITE := https://tcl.tk +$(PKG)_OWNER := https://github.com/highperformancecoder +$(PKG)_IGNORE := +$(PKG)_VERSION := 8.6.4 +$(PKG)_CHECKSUM := 9e6ed94c981c1d0c5f5fefb8112d06c6bf4d050a7327e95e71d417c416519c8d +$(PKG)_SUBDIR := tcl$($(PKG)_VERSION) +$(PKG)_FILE := tcl$($(PKG)_VERSION)-src.tar.gz +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/tcl/Tcl/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc zlib + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://sourceforge.net/projects/tcl/files/Tcl/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)/win' && ./configure \ + $(MXE_CONFIGURE_OPTS) \ + --enable-threads \ + $(if $(findstring x86_64,$(TARGET)), --enable-64bit) \ + CFLAGS='-D__MINGW_EXCPT_DEFINE_PSDK' + $(MAKE) -C '$(1)/win' install install-private-headers $(MXE_DISABLE_PROGRAMS) +endef + |