1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:07:46 +00:00

Ports: Added checksums / signature files and other fixes

* Use ${version} instead of explicit version numbers in urls/filenames
* Move -L option to port script, as this is always good
* Fix some various other stuff
This commit is contained in:
Emanuel Sprung 2020-02-04 01:11:35 +01:00 committed by Andreas Kling
parent 991953ab0a
commit f46d80ac4f
39 changed files with 148 additions and 74 deletions

View file

@ -1,10 +1,13 @@
#!/bin/bash ../.port_include.sh
port=bc
version=2.5.1
curlopts="-L"
files="https://github.com/gavinhoward/bc/releases/download/2.5.1/bc-2.5.1.tar.xz bc-2.5.1.tar.xz"
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"
useconfigure=true
configscript=configure.sh
auth_type="sig"
auth_import_key="E2A30324A4465A4D5882692EC08038BDF280D33E"
auth_opts="bc-${version}.tar.xz.sig"
configure() {
run env HOSTCC=gcc ./"$configscript"