Merge pull request #484 from Hydrazer/smalltalk
pkg(smalltalk-3.2.3): add smalltalk
This commit is contained in:
commit
80f033ee6d
|
@ -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 ..
|
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "smalltalk",
|
||||
"version": "3.2.3",
|
||||
"aliases": ["st"]
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
code_file=`pwd`/"$1"
|
||||
shift
|
||||
|
||||
cd $SMALLTALK_PATH
|
||||
$SMALLTALK_PATH/gst "$code_file" "$@"
|
||||
|
|
@ -0,0 +1 @@
|
|||
'OK' display
|
|
@ -379,6 +379,7 @@ Content-Type: application/json
|
|||
`ruby`,
|
||||
`rust`,
|
||||
`scala`,
|
||||
`smalltalk`,
|
||||
`sqlite3`,
|
||||
`swift`,
|
||||
`typescript`,
|
||||
|
|
|
@ -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\
|
||||
libreadline-dev libblas-dev liblapack-dev libpcre3-dev libarpack2-dev libfftw3-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 && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
|
||||
|
|
Loading…
Reference in New Issue