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"
|
2022-06-07 12:09:58 +00:00
|
|
|
auth_type='sha256'
|
2022-06-01 17:12:56 +00:00
|
|
|
useconfigure='true'
|
|
|
|
configscript='configure.sh'
|
2021-10-25 12:57:34 +00:00
|
|
|
configopts=("--prefix=/usr/local" "--disable-nls")
|
2020-01-25 00:43:14 +00:00
|
|
|
|
2022-06-07 12:09:58 +00:00
|
|
|
export CFLAGS='-O3 -flto'
|
2022-03-31 23:49:54 +00:00
|
|
|
|
2020-01-25 00:43:14 +00:00
|
|
|
configure() {
|
2022-06-01 18:40:18 +00:00
|
|
|
run ./"${configscript}" "${configopts[@]}"
|
2020-01-25 00:43:14 +00:00
|
|
|
}
|