diff options
author | Larkin Nickle <me@larbob.org> | 2021-03-31 17:19:00 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-05 18:25:46 +0200 |
commit | 1333fa7cf70dad1c8591ec06ed7cb71047700a2d (patch) | |
tree | 194079496a4b1a579adba5fb1a5c2d5789592b45 /Ports/carl | |
parent | 1c57bf9094f950a5494fc70977f07ec0bf384eab (diff) | |
download | serenity-1333fa7cf70dad1c8591ec06ed7cb71047700a2d.zip |
Ports: Add carl
Diffstat (limited to 'Ports/carl')
-rwxr-xr-x | Ports/carl/package.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Ports/carl/package.sh b/Ports/carl/package.sh new file mode 100755 index 0000000000..b3daa57781 --- /dev/null +++ b/Ports/carl/package.sh @@ -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" +} |