ladybird/Ports/bc/package.sh

15 lines
456 B
Bash
Raw Normal View History

2021-01-22 19:44:05 +03:00
#!/usr/bin/env -S bash ../.port_include.sh
2022-06-01 20:12:56 +03:00
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'
2022-06-01 20:12:56 +03:00
useconfigure='true'
configscript='configure.sh'
configopts=("--prefix=/usr/local" "--disable-nls")
2020-01-25 03:43:14 +03:00
export CFLAGS='-O3 -flto'
2020-01-25 03:43:14 +03:00
configure() {
run ./"${configscript}" "${configopts[@]}"
2020-01-25 03:43:14 +03:00
}