Compare commits

...

3 Commits

Author SHA1 Message Date
Thomas Hobson 80f033ee6d
Merge pull request #484 from Hydrazer/smalltalk
pkg(smalltalk-3.2.3): add smalltalk
2022-06-05 15:15:31 +12:00
Thomas Hobson c2f6584040
Merge branch 'master' into smalltalk 2022-06-05 15:07:52 +12:00
Hydrazer 61f5e8c6fe pkg(smalltalk-3.2.3): add smalltalk 2022-06-04 07:10:41 -06:00
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

View File

@ -379,6 +379,7 @@ Content-Type: application/json
`ruby`, `ruby`,
`rust`, `rust`,
`scala`, `scala`,
`smalltalk`,
`sqlite3`, `sqlite3`,
`swift`, `swift`,
`typescript`, `typescript`,

View File

@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-d
libncursesw5-dev python3-pip libgmp-dev libmpfr-dev python2 libffi-dev gfortran\ libncursesw5-dev python3-pip libgmp-dev libmpfr-dev python2 libffi-dev gfortran\
libreadline-dev libblas-dev liblapack-dev libpcre3-dev libarpack2-dev libfftw3-dev \ libreadline-dev libblas-dev liblapack-dev libpcre3-dev libarpack2-dev libfftw3-dev \
libglpk-dev libqhull-dev libqrupdate-dev libsuitesparse-dev libsundials-dev \ libglpk-dev libqhull-dev libqrupdate-dev libsuitesparse-dev libsundials-dev \
libbz2-dev liblzma-dev libpcre2-dev gperf bison flex g++ && \ libbz2-dev liblzma-dev libpcre2-dev gperf bison flex g++ gawk zip && \
ln -sf /bin/bash /bin/sh && \ ln -sf /bin/bash /bin/sh && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2 update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2