ladybird/Ports/bc/package.sh
Ben Wiederhake 60b458f5b3 Ports: Fix 'bc' port
Previously, these features were apparently auto-disabled, because we do not yet
support and never did support translations or the FIONREAD ioctl.
2021-03-14 11:30:38 +01:00

16 lines
656 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=bc
version=2.5.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"
configure() {
# NLS needs many things, none of which we support.
# History needs FIONREAD ioctl, which we don't support yet.
run env HOSTCC=gcc ./"$configscript" --disable-nls --disable-history
}