diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/tcltk | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/tcltk')
-rw-r--r-- | homebrew/tcltk/.beer | 49 | ||||
-rw-r--r-- | homebrew/tcltk/.make.sh-auto | 8 | ||||
-rw-r--r-- | homebrew/tcltk/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/tcltk/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/tcltk/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/tcltk/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/tcltk/download.sh | 1 |
7 files changed, 62 insertions, 0 deletions
diff --git a/homebrew/tcltk/.beer b/homebrew/tcltk/.beer new file mode 100644 index 000000000..321ee0a7d --- /dev/null +++ b/homebrew/tcltk/.beer @@ -0,0 +1,49 @@ +{ + "name": "TclTk", + "description": "Tool Command Language", + "url": "https://downloads.sourceforge.net/project/tcl/Tcl/8.6.9/tcl8.6.9-src.tar.gz", + "mirror": "https://ftp.osuosl.org/pub/blfs/conglomeration/tcl/tcl8.6.9-src.tar.gz", + "homepage": "https://www.tcl.tk/", + "depends": [ + { + "depend": "openssl", + "build-depend": false + } + ], + "resource": [ + { + "name": "critcl", + "url": "https://github.com/andreas-kupries/critcl/archive/3.1.17.tar.gz" + }, + { + "name": "tcllib", + "url": "https://downloads.sourceforge.net/project/tcllib/tcllib/1.19/tcllib-1.19.tar.gz" + }, + { + "name": "tcltls", + "url": "https://core.tcl.tk/tcltls/uv/tcltls-1.7.16.tar.gz" + }, + { + "name": "tk", + "url": "https://raw.githubusercontent.com/macports/macports-ports/0a883ad388b/x11/tk/files/patch-macosx-tkMacOSXXStubs.c.diff" + } + ], + "conflicts": [], + "patches": [], + "install": [ + "args = %W[", + "--prefix=#{prefix}", + "--mandir=#{man}", + "--enable-threads", + "--enable-64bit", + "]", + "cd \"unix\" do", + "system \"./configure\", *args", + "system \"make\"", + "system \"make\", \"install\"", + "system \"make\", \"install-private-headers\"", + "ln_s bin/\"tclsh#{version.to_f}\", bin/\"tclsh\"" + ], + "version": "8.6.9", + "file": "tcl-tk.rb" +}
\ No newline at end of file diff --git a/homebrew/tcltk/.make.sh-auto b/homebrew/tcltk/.make.sh-auto new file mode 100644 index 000000000..396791398 --- /dev/null +++ b/homebrew/tcltk/.make.sh-auto @@ -0,0 +1,8 @@ +pkg:setup +args = %W[--prefix=#{prefix} --mandir=#{man} --enable-threads --enable-64bit ] +cd "unix" +pkg:configure *args +make +make DESTDIR=${PKG_DEST} install +make DESTDIR=${PKG_DEST} install-private-headers +ln_s bin/"tclsh#{version.to_f}", bin/"tclsh" diff --git a/homebrew/tcltk/_metadata/description b/homebrew/tcltk/_metadata/description new file mode 100644 index 000000000..a51cc2771 --- /dev/null +++ b/homebrew/tcltk/_metadata/description @@ -0,0 +1 @@ +Tool Command Language diff --git a/homebrew/tcltk/_metadata/homepage b/homebrew/tcltk/_metadata/homepage new file mode 100644 index 000000000..a6d97d8a4 --- /dev/null +++ b/homebrew/tcltk/_metadata/homepage @@ -0,0 +1 @@ +https://www.tcl.tk/ diff --git a/homebrew/tcltk/_metadata/name b/homebrew/tcltk/_metadata/name new file mode 100644 index 000000000..bd2f290eb --- /dev/null +++ b/homebrew/tcltk/_metadata/name @@ -0,0 +1 @@ +TclTk diff --git a/homebrew/tcltk/_metadata/version b/homebrew/tcltk/_metadata/version new file mode 100644 index 000000000..888d4d205 --- /dev/null +++ b/homebrew/tcltk/_metadata/version @@ -0,0 +1 @@ +8.6.9 diff --git a/homebrew/tcltk/download.sh b/homebrew/tcltk/download.sh new file mode 100755 index 000000000..3ada206ec --- /dev/null +++ b/homebrew/tcltk/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/tcl/Tcl/8.6.9/tcl8.6.9-src.tar.gz || wget https://ftp.osuosl.org/pub/blfs/conglomeration/tcl/tcl8.6.9-src.tar.gz
\ No newline at end of file |