1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 06:40:45 +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

View File

@ -10,6 +10,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`bison`](bison/) | GNU Bison | 1.25 | https://www.gnu.org/software/bison/ |
| [`byacc`](byacc/) | Berkeley Yacc | 20191125 | https://invisible-island.net/byacc/byacc.html |
| [`bzip2`](bzip2/) | bzip2 | 1.0.8 | https://sourceware.org/bzip2/ |
| [`carl`](carl/) | Crypto Ancienne Resource Loader | 1.5 | https://github.com/classilla/cryanc |
| [`c-ray`](c-ray/) | C-Ray | | https://github.com/vkoskiv/c-ray |
| [`chester`](chester/) | Chester Gameboy Emulator | | https://github.com/veikkos/chester |
| [`cmake`](cmake/) | CMake | 3.19.4 | https://cmake.org/ |

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"
}