# SPDX-License-Identifier: CC0-1.0 language = 'bc' display = 'bc (GNU bc 1.08.2)' license = [{ name = 'GPL-3.0-or-later', url = 'https://www.gnu.org/software/bc/' }] filename = 'Main.bc' install = ''' VERSION="bc-1.08.2" sudo apt update sudo apt install -y texinfo lzip cd /tmp wget "https://ftpmirror.gnu.org/gnu/bc/${VERSION}.tar.lz" tar --lzip -xvf "${VERSION}.tar.lz" cd "${VERSION}" ./configure make sudo make install ''' execution = [ 'bc', '--mathlib', '--quiet', 'Main.bc', ]