mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 03:26:10 +00:00
Ports/bc: Use sha256 to check the downloaded file
This commit is contained in:
parent
1da48b2c0c
commit
49928a5703
Notes:
sideshowbarker
2024-07-17 23:07:41 +09:00
Author: https://github.com/EWouters
Commit: 49928a5703
Pull-request: https://github.com/SerenityOS/serenity/pull/14179
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/timschumi
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