diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2023-06-27 11:16:12 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2023-06-27 11:40:26 +0200 |
commit | f00c75f38c85207f4722b0b1205a5702f5e1d368 (patch) | |
tree | 1abe53ee277fddd594b6615eb4196ca81eba2824 /dev-libs | |
parent | dev-db/sqlite: drop 3.41.2-r1 (diff) | |
download | gentoo-f00c75f38c85207f4722b0b1205a5702f5e1d368.tar.gz gentoo-f00c75f38c85207f4722b0b1205a5702f5e1d368.tar.bz2 gentoo-f00c75f38c85207f4722b0b1205a5702f5e1d368.zip |
dev-libs/libjodycode: add 3.0.1
Closes: https://bugs.gentoo.org/908301
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libjodycode/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libjodycode/files/libjodycode-3.0.1-static-lib.patch | 12 | ||||
-rw-r--r-- | dev-libs/libjodycode/libjodycode-3.0.1.ebuild | 33 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/libjodycode/Manifest b/dev-libs/libjodycode/Manifest index 0be0876959fb..31c482295994 100644 --- a/dev-libs/libjodycode/Manifest +++ b/dev-libs/libjodycode/Manifest @@ -1 +1,2 @@ DIST libjodycode-2.0.1.tar.gz 22186 BLAKE2B 1a1d88a3cebc2adf4a9a067c00e8c543e01dc9f5a34ea2ab6c3e5239b2627c7f737f4a467dfd03b8ba7a38c6764227f009e5c0c7af6b5086652183bbd052ae1a SHA512 eba59bc2a792e129e8d397c8fdb9d6dc09b6af87828e18c530e8613c425ed8b404b8cc586aea490fe9f1791630c12c879c2f97f52740dc0e31b5feff9ccd95b1 +DIST libjodycode-3.0.1.tar.gz 25929 BLAKE2B a55e7a2f2ab829dfadc4ecf296e56d38341acd8fde44bc84bdb821d485546b4c4e31fe40a729cfc940b0499d7d1a83e549ddd93abab709be463fd4050d7d45c7 SHA512 cbcc85ce2f321a01762966100ba73b7ddadd2f5bbbd6ec2ddc99624a54505ec6fc8d2be2b3cb520312b5c82599401141409018c58e68a2f17c044c69da6caa75 diff --git a/dev-libs/libjodycode/files/libjodycode-3.0.1-static-lib.patch b/dev-libs/libjodycode/files/libjodycode-3.0.1-static-lib.patch new file mode 100644 index 000000000000..761aecdf3c59 --- /dev/null +++ b/dev-libs/libjodycode/files/libjodycode-3.0.1-static-lib.patch @@ -0,0 +1,12 @@ +diff --git a/Makefile b/Makefile +index aaf46df..adb8cb2 100644 +--- a/Makefile ++++ b/Makefile +@@ -168,7 +168,6 @@ installfiles: + $(INSTALL_PROGRAM) $(PROGRAM_NAME).$(SO_SUFFIX).$(VERSION) $(DESTDIR)$(LIB_DIR)/$(PROGRAM_NAME).$(SO_SUFFIX).$(VERSION) + $(LN) $(PROGRAM_NAME).$(SO_SUFFIX).$(VERSION) $(DESTDIR)$(LIB_DIR)/$(PROGRAM_NAME).$(SO_SUFFIX).$(VERSION_MAJOR) + $(LN) $(PROGRAM_NAME).$(SO_SUFFIX).$(VERSION_MAJOR) $(DESTDIR)$(LIB_DIR)/$(PROGRAM_NAME).$(SO_SUFFIX) +- $(INSTALL_DATA) $(PROGRAM_NAME).a $(DESTDIR)$(LIB_DIR)/$(PROGRAM_NAME).a + $(INSTALL_DATA) $(PROGRAM_NAME).h $(DESTDIR)$(INC_DIR)/$(PROGRAM_NAME).h + $(INSTALL_DATA) $(PROGRAM_NAME).7 $(DESTDIR)$(MAN7_DIR)/$(PROGRAM_NAME).7 + diff --git a/dev-libs/libjodycode/libjodycode-3.0.1.ebuild b/dev-libs/libjodycode/libjodycode-3.0.1.ebuild new file mode 100644 index 000000000000..21fb1968503a --- /dev/null +++ b/dev-libs/libjodycode/libjodycode-3.0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023 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://github.com/jbruchon/libjodycode" +SRC_URI="https://github.com/jbruchon/libjodycode/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# missing test script +# https://github.com/jbruchon/jdupes/issues/191 +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${P}-static-lib.patch +) + +src_compile() { + emake sharedlib +} + +src_install() { + emake \ + DESTDIR="${D}" \ + LIB_DIR="/usr/$(get_libdir)" \ + PREFIX="${EPREFIX}"/usr \ + install + einstalldocs +} |