From 70b4e50774138c53403a2a10ffb391f7711d30c8 Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Tue, 30 Jul 2024 02:20:40 +0200 Subject: dev-libs/libjodycode: add 3.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakov Smolić --- dev-libs/libjodycode/Manifest | 1 + dev-libs/libjodycode/libjodycode-3.1.1.ebuild | 34 +++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 dev-libs/libjodycode/libjodycode-3.1.1.ebuild (limited to 'dev-libs') diff --git a/dev-libs/libjodycode/Manifest b/dev-libs/libjodycode/Manifest index f681f8e69288..b0af9b9de070 100644 --- a/dev-libs/libjodycode/Manifest +++ b/dev-libs/libjodycode/Manifest @@ -1 +1,2 @@ +DIST libjodycode-3.1.1.tar.gz 26910 BLAKE2B d3ed482c087a34099ea08968e0e60e8e8423deab57919a58f58ab99cede7c84142b068d0fa6ea077eb2837fb43d39673c2ce7581796e54cb0c82c31afea0930c SHA512 cd388b26e77af64b9c575df75f0ab39775c29713948f671e50be5485c9be3bd180f232a185891640a372e7069a6807368c3599cce399901d9e1102a8ce969c11 DIST libjodycode-3.1.tar.gz 27340 BLAKE2B c084c75a241737c63f33a9a21ea2dc5303d6811fd94db9bd62162eb1ed3fa6e43edbbc1cbfa079f60f8f11a76c052cd825250b2ca34594889da46cbdda1c5248 SHA512 980f1797084594f710cae92b26d10c46a73415d11e89af608c8a87730ea39f497fec0889f9bd88af7c23aa0067dd6642758edc2b2756d9eba6e6a4a50c583751 diff --git a/dev-libs/libjodycode/libjodycode-3.1.1.ebuild b/dev-libs/libjodycode/libjodycode-3.1.1.ebuild new file mode 100644 index 000000000000..6cfd69fbba48 --- /dev/null +++ b/dev-libs/libjodycode/libjodycode-3.1.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Shared code used by several utilities written by Jody Bruchon" +HOMEPAGE="https://codeberg.org/jbruchon/libjodycode" +SRC_URI="https://codeberg.org/jbruchon/libjodycode/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +# missing test script +# https://github.com/jbruchon/jdupes/issues/191 +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-3.0.1-static-lib.patch +) + +src_compile() { + emake sharedlib +} + +src_install() { + emake \ + DESTDIR="${D}" \ + LIB_DIR="/usr/$(get_libdir)" \ + PREFIX="${EPREFIX}"/usr \ + install + einstalldocs +} -- cgit v1.2.3-65-gdbad