ladybird/Ports/bc/package.sh
2023-09-09 01:06:31 +02:00

16 lines
424 B
Bash
Executable File

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