2021-03-19 10:13:27 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Put instructions to build your package in here
|
|
|
|
PREFIX=$(realpath $(dirname $0))
|
|
|
|
|
|
|
|
git clone https://github.com/fabianishere/brainfuck.git
|
|
|
|
|
2021-03-19 10:34:41 +01:00
|
|
|
cd brainfuck
|
2021-03-20 00:37:55 +01:00
|
|
|
git checkout 06f84462e0a96487670a4b8024e3ec531e0377ee
|
2021-03-20 00:35:36 +01:00
|
|
|
|
|
|
|
|
2021-03-19 10:34:41 +01:00
|
|
|
mkdir -p build
|
2021-03-19 10:43:29 +01:00
|
|
|
|
2021-03-19 10:13:27 +01:00
|
|
|
cd build
|
|
|
|
|
2021-03-19 10:43:29 +01:00
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX/ -DENABLE_EDITLINE=OFF
|
2021-03-19 10:13:27 +01:00
|
|
|
|
|
|
|
make -j$(nproc)
|
|
|
|
make install -j$(nproc)
|
|
|
|
|
2021-03-19 10:34:41 +01:00
|
|
|
cd ../../
|
|
|
|
rm -rf brainfuck
|