mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
30 lines
708 B
YAML
30 lines
708 B
YAML
distributable:
|
|
url: https://prdownloads.sourceforge.net/tcl/tcl{{ version }}-src.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://sourceforge.net/projects/tcl/files/Tcl/
|
|
match: /files\/Tcl\/\d+\.\d+\.\d+\//
|
|
strip:
|
|
- /files\/Tcl\//
|
|
- /\//
|
|
|
|
build:
|
|
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
|