1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-05 21:29:59 +00:00
serenity/Ports/carl/package.sh

17 lines
416 B
Bash
Raw Normal View History

2021-03-31 21:19:00 +00:00
#!/usr/bin/env -S bash ../.port_include.sh
port=carl
version=1.5
workdir=cryanc-"${version}"
2023-07-10 11:10:29 +00:00
files=(
"https://github.com/classilla/cryanc/archive/refs/tags/${version}.tar.gz#019c2a4df4ce5a332fc29b7903244d6a76bb0bd8bb3e406326b6239416a5b0f6"
2023-07-10 11:10:29 +00:00
)
2021-03-31 21:19:00 +00:00
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"
2021-03-31 21:19:00 +00:00
}