pkg(cobol-3.1.2): Adds cobol 3.1.2 (gnucobol)

This commit is contained in:
Victor Frazao 2021-04-27 14:07:18 -04:00
parent 959830c652
commit 1d18a1d093
6 changed files with 47 additions and 0 deletions

20
packages/cobol/3.1.2/build.sh vendored Executable file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Put instructions to build your package in here
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl -OL "https://downloads.sourceforge.net/project/gnucobol/gnucobol/3.1/gnucobol-3.1.2.tar.xz"
tar xf gnucobol-3.1.2.tar.xz --strip-components=1
# === autoconf based ===
./configure --prefix "$PREFIX" --without-db
make -j$(nproc)
make install -j$(nproc)
cd ../
rm -rf build