summaryrefslogtreecommitdiff
path: root/Ports/carl/package.sh
blob: c4e1d7af281e8e426329c80fe6c7492b4f1a6024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 019c2a4df4ce5a332fc29b7903244d6a76bb0bd8bb3e406326b6239416a5b0f6"
auth_type=sha256

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