ladybird/Ports/bc/package.sh
EWouters 6238b3896a Ports/bc: Remove hardcoded HOSTCC
The configure script will pick up the `HOSTCC` via `HOST_CC`, which is
defined in `Ports/.hosted_defs.sh`.
2022-06-08 11:40:31 +01:00

15 lines
456 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port='bc'
version='5.2.5'
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz 085d1f0d544f34c6e186a4b91e8978702eaa7645e39c630184efd49f17b3dbd5"
auth_type='sha256'
useconfigure='true'
configscript='configure.sh'
configopts=("--prefix=/usr/local" "--disable-nls")
export CFLAGS='-O3 -flto'
configure() {
run ./"${configscript}" "${configopts[@]}"
}