From 73b5e3db6aba39213de763d8b9ab8859cdba5e13 Mon Sep 17 00:00:00 2001 From: Beckett Normington Date: Fri, 7 Jul 2023 12:16:10 -0400 Subject: [PATCH] Ports: Add libjodycode port This commit ports `libjodycode` to Serenity, which is a helper library containing shared code for utilities written by Jody Bruchon. This library was required for porting `jdupes`. --- Ports/AvailablePorts.md | 1 + Ports/libjodycode/package.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 Ports/libjodycode/package.sh diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 701f6538930..3c2305818eb 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -133,6 +133,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`libgpg-error`](libgpg-error/) | libgpg-error | 1.45 | https://gnupg.org/software/libgpg-error/index.html | | [`libiconv`](libiconv/) | GNU libiconv | 1.17 | https://www.gnu.org/software/libiconv/ | | [`libicu`](libicu/) | ICU | 69.1 | http://site.icu-project.org/ | +| [`libjodycode`](libjodycode/) | libjodycode | 3.1 | https://github.com/jbruchon/libjodycode | | [`libjpeg`](libjpeg/) | libjpeg | 9e | https://ijg.org/ | | [`libksba`](libksba/) | libksba | 1.5.1 | https://gnupg.org/software/libksba/index.html | | [`libmad`](libmad/) | libmad | 0.15.1b | https://www.underbit.com/products/mad/ | diff --git a/Ports/libjodycode/package.sh b/Ports/libjodycode/package.sh new file mode 100755 index 00000000000..a368390f8f5 --- /dev/null +++ b/Ports/libjodycode/package.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port='libjodycode' +version='3.1' +files="https://github.com/jbruchon/libjodycode/archive/refs/tags/v${version}.tar.gz libjodycode-${version}.tar.gz c72974eb1d38873e06ea84b3d78990f87192f0113da5bd13fcac6bbc6a6e2184" +auth_type='sha256' +workdir="libjodycode-${version}" +makeopts=("UNAME_S=serenity UNAME_M=${SERENITY_ARCH} CROSS_DETECT=cross")