ladybird/Ports/bc/package.sh

17 lines
656 B
Bash
Raw Normal View History

2021-01-22 19:44:05 +03:00
#!/usr/bin/env -S bash ../.port_include.sh
2020-01-25 03:43:14 +03:00
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"
2020-01-25 03:43:14 +03:00
useconfigure=true
configscript=configure.sh
auth_type="sig"
auth_import_key="E2A30324A4465A4D5882692EC08038BDF280D33E"
auth_opts="bc-${version}.tar.xz.sig"
2020-01-25 03:43:14 +03:00
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
2020-01-25 03:43:14 +03:00
}