mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
Ports/bc: Use sha256 to check the downloaded file
This commit is contained in:
parent
1da48b2c0c
commit
49928a5703
1 changed files with 3 additions and 6 deletions
|
@ -1,16 +1,13 @@
|
||||||
#!/usr/bin/env -S bash ../.port_include.sh
|
#!/usr/bin/env -S bash ../.port_include.sh
|
||||||
port='bc'
|
port='bc'
|
||||||
version='5.2.5'
|
version='5.2.5'
|
||||||
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz
|
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz 085d1f0d544f34c6e186a4b91e8978702eaa7645e39c630184efd49f17b3dbd5"
|
||||||
https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz.sig bc-${version}.tar.xz.sig"
|
auth_type='sha256'
|
||||||
useconfigure='true'
|
useconfigure='true'
|
||||||
configscript='configure.sh'
|
configscript='configure.sh'
|
||||||
auth_type="sig"
|
|
||||||
auth_import_key="E2A30324A4465A4D5882692EC08038BDF280D33E"
|
|
||||||
auth_opts=("bc-${version}.tar.xz.sig")
|
|
||||||
configopts=("--prefix=/usr/local" "--disable-nls")
|
configopts=("--prefix=/usr/local" "--disable-nls")
|
||||||
|
|
||||||
export CFLAGS="-O3 -flto"
|
export CFLAGS='-O3 -flto'
|
||||||
|
|
||||||
configure() {
|
configure() {
|
||||||
run env HOSTCC=gcc ./"$configscript" "${configopts[@]}"
|
run env HOSTCC=gcc ./"$configscript" "${configopts[@]}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue