summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2024-07-30 02:20:40 +0200
committerJakov Smolić <jsmolic@gentoo.org>2024-07-31 01:44:02 +0200
commit70b4e50774138c53403a2a10ffb391f7711d30c8 (patch)
tree4bd33590733265a95d5e9cf2feba8515b542f0f6
parentdev-build/bmake: Bump to 20240711 (diff)
downloadgentoo-70b4e50774138c53403a2a10ffb391f7711d30c8.tar.gz
gentoo-70b4e50774138c53403a2a10ffb391f7711d30c8.tar.bz2
gentoo-70b4e50774138c53403a2a10ffb391f7711d30c8.zip
dev-libs/libjodycode: add 3.1.1
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r--dev-libs/libjodycode/Manifest1
-rw-r--r--dev-libs/libjodycode/libjodycode-3.1.1.ebuild34
2 files changed, 35 insertions, 0 deletions
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
+}