mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
pkg(smalltalk-3.2.3): add smalltalk
This commit is contained in:
parent
81e315609d
commit
61f5e8c6fe
7 changed files with 40 additions and 1 deletions
19
packages/smalltalk/3.2.3/build.sh
vendored
Normal file
19
packages/smalltalk/3.2.3/build.sh
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
curl -L https://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.3.tar.gz -o smalltalk-3.2.3.tar.gz
|
||||
tar xzf smalltalk-3.2.3.tar.gz
|
||||
|
||||
rm smalltalk-3.2.3.tar.gz
|
||||
|
||||
cd smalltalk-3.2.3
|
||||
|
||||
./configure
|
||||
rm libc.la
|
||||
|
||||
make
|
||||
make install
|
||||
|
||||
chmod +x gst
|
||||
cd ..
|
5
packages/smalltalk/3.2.3/environment
vendored
Normal file
5
packages/smalltalk/3.2.3/environment
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
||||
export SMALLTALK_PATH=$PWD/smalltalk-3.2.3
|
5
packages/smalltalk/3.2.3/metadata.json
vendored
Normal file
5
packages/smalltalk/3.2.3/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "smalltalk",
|
||||
"version": "3.2.3",
|
||||
"aliases": ["st"]
|
||||
}
|
8
packages/smalltalk/3.2.3/run
vendored
Normal file
8
packages/smalltalk/3.2.3/run
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
code_file=`pwd`/"$1"
|
||||
shift
|
||||
|
||||
cd $SMALLTALK_PATH
|
||||
$SMALLTALK_PATH/gst "$code_file" "$@"
|
||||
|
1
packages/smalltalk/3.2.3/test.st
vendored
Normal file
1
packages/smalltalk/3.2.3/test.st
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
'OK' display
|
Loading…
Add table
Add a link
Reference in a new issue