2023-01-17 00:24:57 +03:00
|
|
|
distributable:
|
|
|
|
url: https://prdownloads.sourceforge.net/tcl/tcl{{ version }}-src.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-08 18:17:44 +03:00
|
|
|
url: https://sourceforge.net/projects/tcl/files/Tcl/
|
|
|
|
match: /files\/Tcl\/\d+\.\d+\.\d+\//
|
|
|
|
strip:
|
|
|
|
- /files\/Tcl\//
|
|
|
|
- /\//
|
2023-01-17 00:24:57 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
working-directory: unix
|
|
|
|
script: |
|
|
|
|
./configure --prefix={{ prefix }}
|
|
|
|
make --jobs {{ hw.concurrency }}
|
|
|
|
make install
|
|
|
|
make install-private-headers
|
|
|
|
|
|
|
|
cd {{prefix}}/bin
|
|
|
|
ln -s tclsh{{version.major}}.{{version.minor}} tclsh
|
|
|
|
test: make test
|
|
|
|
|
|
|
|
test:
|
|
|
|
script: test "$(echo 'puts "Hello, World!";' | tclsh)" = 'Hello, World!'
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/sqlite3_analyzer
|
|
|
|
- bin/tclsh{{version.major}}.{{version.minor}}
|
|
|
|
- bin/tclsh
|
|
|
|
|