mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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: https://github.com/SerenityOS/serenity/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
|
||||
port='bc'
|
||||
version='5.2.5'
|
||||
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz
|
||||
https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz.sig bc-${version}.tar.xz.sig"
|
||||
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz 085d1f0d544f34c6e186a4b91e8978702eaa7645e39c630184efd49f17b3dbd5"
|
||||
auth_type='sha256'
|
||||
useconfigure='true'
|
||||
configscript='configure.sh'
|
||||
auth_type="sig"
|
||||
auth_import_key="E2A30324A4465A4D5882692EC08038BDF280D33E"
|
||||
auth_opts=("bc-${version}.tar.xz.sig")
|
||||
configopts=("--prefix=/usr/local" "--disable-nls")
|
||||
|
||||
export CFLAGS="-O3 -flto"
|
||||
export CFLAGS='-O3 -flto'
|
||||
|
||||
configure() {
|
||||
run env HOSTCC=gcc ./"$configscript" "${configopts[@]}"
|
||||
|
|
Loading…
Reference in a new issue