public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/kyotocabinet/
Date: Wed, 16 Nov 2022 23:00:28 +0000 (UTC)	[thread overview]
Message-ID: <1668639591.e2345e1e7cba96bb37b15a87ec9d8fe5375536ae.sam@gentoo> (raw)

commit:     e2345e1e7cba96bb37b15a87ec9d8fe5375536ae
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 19:58:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 22:59:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2345e1e

dev-db/kyotocabinet: add 1.2.79

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/kyotocabinet/Manifest                   |  1 +
 dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild | 68 ++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-db/kyotocabinet/Manifest b/dev-db/kyotocabinet/Manifest
index 153fe26ce686..cc68343464c7 100644
--- a/dev-db/kyotocabinet/Manifest
+++ b/dev-db/kyotocabinet/Manifest
@@ -1 +1,2 @@
 DIST kyotocabinet-1.2.77.tar.gz 949326 BLAKE2B faacde57e8c7fed3fb232ea6fd12b668f2d2ee352cd357d5e16e0d1740cd8f73e223964249efeae50f3ea5d0672117b2410b91ba557ebe1ac7ba4075ac28deab SHA512 f38794c11faa3f4b64097a2e314307e1a6b75ddc495103647ebe52786a689336754496e7083697417ea90436e7fad681f16440975abec9ae917874aa25153e0f
+DIST kyotocabinet-1.2.79.tar.gz 943804 BLAKE2B 8a12e6dd953a1ba995d5a60126fb2682a07be390698bf98535633af894573aafc63b55497dc869cad14eceb14824ceb4f8c471b9aa1dad51944c35eac0cf4912 SHA512 9243192c81d3aa37cc8c80eb3bdf235192a0919b134cededa2b4178be515d148916e7405e094cbcdd7dbf13bf38a569bf21863afac7cc05d6418cca5853a2ff4

diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild
new file mode 100644
index 000000000000..4d737ac5ad0b
--- /dev/null
+++ b/dev-db/kyotocabinet/kyotocabinet-1.2.79.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A straightforward implementation of DBM"
+HOMEPAGE="https://dbmx.net/kyotocabinet/"
+SRC_URI="https://dbmx.net/kyotocabinet/pkg/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="debug doc examples +lzma +lzo static-libs"
+
+DEPEND="sys-libs/zlib[static-libs?]
+	lzma? ( app-arch/xz-utils:=[static-libs?] )
+	lzo? ( dev-libs/lzo:=[static-libs?] )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/fix_configure-1.2.62.patch
+	"${FILESDIR}"/${PN}-1.2.76-configure-8-byte-atomics.patch
+	"${FILESDIR}"/${PN}-1.2.76-flags.patch
+)
+
+src_prepare() {
+	default
+
+	sed -i -e "/DOCDIR/d" Makefile.in || die
+	tc-export AR
+
+	mv configure.in configure.ac || die
+	eautoreconf
+}
+
+src_configure() {
+	# We need to set LD_LIBRARY_PATH which will be assigned to RUNENV later
+	# used by test suite
+	LD_LIBRARY_PATH=. \
+	econf $(use_enable debug) \
+		$(use_enable static-libs static) \
+		$(use_enable !static-libs shared) \
+		$(use_enable lzma) \
+		$(use_enable lzo)
+}
+
+src_test() {
+	emake -j1 check
+}
+
+src_install() {
+	default
+
+	if ! use static-libs; then
+		find "${ED}" -name '*.a' -delete || die
+	fi
+
+	if use doc; then
+		dodoc -r doc/*
+	fi
+
+	if use examples; then
+		docinto example
+		dodoc example/*
+	fi
+}


             reply	other threads:[~2022-11-16 23:00 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16 23:00 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-18 17:32 [gentoo-commits] repo/gentoo:master commit in: dev-db/kyotocabinet/ Arthur Zamarin
2024-10-18 16:12 Arthur Zamarin
2024-10-15 20:45 Sam James
2024-10-15 20:45 Sam James
2024-10-15 20:45 Sam James
2024-10-15 20:45 Sam James
2024-10-15 20:45 Sam James
2024-09-08 20:48 Petr Vaněk
2023-10-09 20:02 Sam James
2023-10-09  7:18 Sam James
2023-10-09  5:54 Sam James
2023-10-09  4:53 Sam James
2023-10-09  4:36 Sam James
2023-10-09  4:36 Sam James
2023-03-17 18:25 Sam James
2023-03-17 18:25 Sam James
2023-03-17 18:25 Sam James
2023-03-17 17:30 Sam James
2023-03-17 16:40 Arthur Zamarin
2023-03-17 16:22 Arthur Zamarin
2023-03-17 16:10 Arthur Zamarin
2022-11-29 15:58 WANG Xuerui
2022-11-16 23:00 Sam James
2021-07-13 11:21 Marek Szuba
2021-03-05 18:00 Sam James
2021-01-06 18:43 Fabian Groffen
2020-04-07  8:41 Sergei Trofimovich
2020-01-20 23:12 Sergei Trofimovich
2019-10-28 21:38 Jonas Stein
2019-09-18 11:15 Agostino Sarubbo
2019-09-17  6:03 Matt Turner
2019-09-16 22:03 Sergei Trofimovich
2019-09-16 22:02 Sergei Trofimovich
2019-09-15 19:22 Matt Turner
2019-09-15  9:03 Agostino Sarubbo
2019-09-14  2:57 Aaron Bauman
2019-08-28  6:54 Sergei Trofimovich
2019-04-26 11:32 Anthony G. Basile
2018-12-31 10:06 Mikle Kolyada
2018-11-28  2:07 Thomas Deutschmann
2018-08-30  4:44 Markus Meier
2018-06-16 15:04 Sergei Trofimovich
2018-04-14 11:25 Markus Meier
2018-02-24 21:56 Michał Górny
2017-10-25 21:42 Sergei Trofimovich
2016-11-03 16:19 Göktürk Yüksek
2016-01-24 15:56 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1668639591.e2345e1e7cba96bb37b15a87ec9d8fe5375536ae.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox