mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-27 13:11:46 +03:00
16 lines
424 B
Bash
Executable File
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[@]}"
|
|
}
|