1
0
Fork 0
frozenports/sysutils/bc-gh/SCHEMATIC

22 lines
666 B
Bash

#!/bin/sh
name="bc-gh"
short_desc="POSIX bc/dc"
desc="An implementation of the POSIX bc calculator with GNU extensions and dc"
category="sysutils"
version="6.7.2"
maintainer="ffqq@danwin1210.de"
www="https://github.com/gavinhoward/bc"
master_site="https://github.com/gavinhoward/bc/releases/download/$version"
source_name="bc-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("BSD-2-CLAUSE")
build_dependencies=("lang/gcc" "devel/gmake" "system/chimerautils")
run_dependencies=("system/glibc")
build_process() {
cd bc-$version
./configure --prefix=/usr
make -j$(nproc)
make DESTDIR="$TAMANDUA_STAGE_DIR" install
}