piston/packages/brainfuck/2.7.3/build.sh

24 lines
337 B
Bash

#!/usr/bin/env bash
# Put instructions to build your package in here
PREFIX=$(realpath $(dirname $0))
mkdir -p build
git clone https://github.com/fabianishere/brainfuck.git
cd build
cmake ../brainfuck
make -j$(nproc)
make install -j$(nproc)
# === autoconf based ===
./configure --prefix "$PREFIX"
cd ../
rm -rf build brainfuck