ladybird/Ports/bc/package.sh
Daniel Bertalan 5241c5f219 Ports: Enable history handling in bc
An oversight in the TTY defaults caused bc to reach an assertion failure
when it tried to set up raw mode for printing the history.

Now that this is fixed, we can finally enable history handling.
2021-10-25 21:42:26 +02:00

16 lines
577 B
Bash
Executable File

#!/usr/bin/env -S bash ../.port_include.sh
port=bc
version=5.1.1
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz
https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz.sig bc-${version}.tar.xz.sig"
useconfigure=true
configscript=configure.sh
auth_type="sig"
auth_import_key="E2A30324A4465A4D5882692EC08038BDF280D33E"
auth_opts=("bc-${version}.tar.xz.sig")
configopts=("--prefix=/usr/local" "--disable-nls")
configure() {
run env HOSTCC=gcc ./"$configscript" "${configopts[@]}"
}