1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:47:34 +00:00

Ports: Add carl

This commit is contained in:
Larkin Nickle 2021-03-31 17:19:00 -04:00 committed by Andreas Kling
parent 1c57bf9094
commit 1333fa7cf7
2 changed files with 15 additions and 0 deletions

14
Ports/carl/package.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=carl
version=1.5
workdir=cryanc-"${version}"
files="https://github.com/classilla/cryanc/archive/refs/tags/${version}.tar.gz cryanc-${version}.tar.gz f2cae13addf4ed7cb7af3d06069cf082"
build() {
run $CC -O3 carl.c -o carl
}
install() {
run mkdir -p "${SERENITY_BUILD_DIR}/Root/usr/local"
run cp carl "${SERENITY_BUILD_DIR}/Root/usr/local/bin"
}