pkg(smalltalk-3.2.3): add smalltalk

This commit is contained in:
Hydrazer 2022-05-31 07:39:03 -06:00
parent 81e315609d
commit 61f5e8c6fe
7 changed files with 40 additions and 1 deletions

19
packages/smalltalk/3.2.3/build.sh vendored Normal file
View 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
View 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

View file

@ -0,0 +1,5 @@
{
"language": "smalltalk",
"version": "3.2.3",
"aliases": ["st"]
}

8
packages/smalltalk/3.2.3/run vendored Normal file
View 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
View file

@ -0,0 +1 @@
'OK' display