serenity/Ports/bc/package.sh

15 lines
456 B
Bash
Raw Normal View History

2021-01-22 16:44:05 +00:00
#!/usr/bin/env -S bash ../.port_include.sh
2022-06-01 17:12:56 +00:00
port='bc'
2022-11-25 21:16:07 +00:00
version='6.1.1'
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz b6de9e2fa4fcb1902c1686760dd90217543128f0298d418951ab1e9a03964097"
auth_type='sha256'
2022-06-01 17:12:56 +00:00
useconfigure='true'
configscript='configure.sh'
configopts=("--prefix=/usr/local" "--disable-nls")
2020-01-25 00:43:14 +00:00
export CFLAGS='-O3 -flto'
2020-01-25 00:43:14 +00:00
configure() {
run ./"${configscript}" "${configopts[@]}"
2020-01-25 00:43:14 +00:00
}