Skip to content

Commit 80f033e

Browse files
authored
Merge pull request #484 from Hydrazer/smalltalk
pkg(smalltalk-3.2.3): add smalltalk
2 parents e4b77a3 + c2f6584 commit 80f033e

File tree

7 files changed

+40
-1
lines changed

7 files changed

+40
-1
lines changed

packages/smalltalk/3.2.3/build.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
curl -L https://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.3.tar.gz -o smalltalk-3.2.3.tar.gz
6+
tar xzf smalltalk-3.2.3.tar.gz
7+
8+
rm smalltalk-3.2.3.tar.gz
9+
10+
cd smalltalk-3.2.3
11+
12+
./configure
13+
rm libc.la
14+
15+
make
16+
make install
17+
18+
chmod +x gst
19+
cd ..
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
# Put 'export' statements here for environment variables
4+
export PATH=$PWD/bin:$PATH
5+
export SMALLTALK_PATH=$PWD/smalltalk-3.2.3
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"language": "smalltalk",
3+
"version": "3.2.3",
4+
"aliases": ["st"]
5+
}

packages/smalltalk/3.2.3/run

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
code_file=`pwd`/"$1"
4+
shift
5+
6+
cd $SMALLTALK_PATH
7+
$SMALLTALK_PATH/gst "$code_file" "$@"
8+

packages/smalltalk/3.2.3/test.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
'OK' display

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ Content-Type: application/json
379379
`ruby`,
380380
`rust`,
381381
`scala`,
382+
`smalltalk`,
382383
`sqlite3`,
383384
`swift`,
384385
`typescript`,

repo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-d
99
libncursesw5-dev python3-pip libgmp-dev libmpfr-dev python2 libffi-dev gfortran\
1010
libreadline-dev libblas-dev liblapack-dev libpcre3-dev libarpack2-dev libfftw3-dev \
1111
libglpk-dev libqhull-dev libqrupdate-dev libsuitesparse-dev libsundials-dev \
12-
libbz2-dev liblzma-dev libpcre2-dev gperf bison flex g++ && \
12+
libbz2-dev liblzma-dev libpcre2-dev gperf bison flex g++ gawk zip && \
1313
ln -sf /bin/bash /bin/sh && \
1414
rm -rf /var/lib/apt/lists/* && \
1515
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2

0 commit comments

Comments
 (0)