ladybird/Ports/carl/package.sh
Panagiotis Vasilopoulos 492f7132d2 Ports: Improve consistency and quality of ports
- Replaced /Root with
- Improved documentation.
- Removed a few typos.
- Replaced  with
- Added brackets in some cases.

Most of the changes were reviewed and applied manually.
2021-04-20 18:20:00 +02:00

15 lines
415 B
Bash
Executable file

#!/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"
auth_type=md4
build() {
run $CC -O3 carl.c -o carl
}
install() {
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local"
run cp carl "${SERENITY_INSTALL_ROOT}/usr/local/bin"
}