mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-06 16:09:30 +00:00
Ports: Add carl
This commit is contained in:
parent
1c57bf9094
commit
1333fa7cf7
|
@ -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/ |
|
| [`bison`](bison/) | GNU Bison | 1.25 | https://www.gnu.org/software/bison/ |
|
||||||
| [`byacc`](byacc/) | Berkeley Yacc | 20191125 | https://invisible-island.net/byacc/byacc.html |
|
| [`byacc`](byacc/) | Berkeley Yacc | 20191125 | https://invisible-island.net/byacc/byacc.html |
|
||||||
| [`bzip2`](bzip2/) | bzip2 | 1.0.8 | https://sourceware.org/bzip2/ |
|
| [`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 |
|
| [`c-ray`](c-ray/) | C-Ray | | https://github.com/vkoskiv/c-ray |
|
||||||
| [`chester`](chester/) | Chester Gameboy Emulator | | https://github.com/veikkos/chester |
|
| [`chester`](chester/) | Chester Gameboy Emulator | | https://github.com/veikkos/chester |
|
||||||
| [`cmake`](cmake/) | CMake | 3.19.4 | https://cmake.org/ |
|
| [`cmake`](cmake/) | CMake | 3.19.4 | https://cmake.org/ |
|
||||||
|
|
14
Ports/carl/package.sh
Executable file
14
Ports/carl/package.sh
Executable 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"
|
||||||
|
}
|
Loading…
Reference in a new issue