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

Ports: Add bc port

This commit is contained in:
Brian Callahan 2020-01-24 19:43:14 -05:00 committed by Andreas Kling
parent c0b32f7b76
commit c8f61de191
3 changed files with 35 additions and 0 deletions

11
Ports/bc/package.sh Executable file
View file

@ -0,0 +1,11 @@
#!/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"
useconfigure=true
configscript=configure.sh
configure() {
run env HOSTCC=gcc ./"$configscript"
}