mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-24 05:56:26 +02:00
pkg(cobol-3.1.2): Adds cobol 3.1.2 (gnucobol)
This commit is contained in:
parent
959830c652
commit
1d18a1d093
6 changed files with 47 additions and 0 deletions
20
packages/cobol/3.1.2/build.sh
vendored
Executable file
20
packages/cobol/3.1.2/build.sh
vendored
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue