summaryrefslogtreecommitdiff
path: root/Ports/carl/package.sh
blob: 2bbb4e98048e5d72f3d3e3b23c7350f72bde9f75 (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 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"
}