From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/lmdb/
Date: Sun, 3 Feb 2019 19:40:22 +0000 (UTC) [thread overview]
Message-ID: <1549222574.8d5eed988b6238cb31043e2f70263c69202aaff5.asturm@gentoo> (raw)
commit: 8d5eed988b6238cb31043e2f70263c69202aaff5
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 27 19:39:12 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 3 19:36:14 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d5eed98
dev-db/lmdb: 0.9.23 version bump
No change in Makefile over 0.9.22.
Update HOMEPAGE
Add missing || die
Drop obsolete blocker (cleaned up 2 years ago)
Sort inherit
Closes: https://bugs.gentoo.org/675852
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-db/lmdb/Manifest | 1 +
dev-db/lmdb/lmdb-0.9.23.ebuild | 72 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest
index 2c7e2699880..d024e6d0ca8 100644
--- a/dev-db/lmdb/Manifest
+++ b/dev-db/lmdb/Manifest
@@ -2,3 +2,4 @@ DIST LMDB_0.9.18.tar.gz 139156 BLAKE2B 6a8d32c6f203272a212d5e298f7d1af290c12a876
DIST LMDB_0.9.19.tar.gz 143141 BLAKE2B 69f39e2194638989d8a17b79edd7918966d5608f4e611a7446b45e7321adf3b7d4bd69107fe00a1476d32cbd43b83f512c8498cefa3fca7eea8ba615821341fe SHA512 1d9825f09592ad92a540a1dec232cf6649f41cc67b0d59dc8958a71f4090f347c84995f32a166e2c2efecb862981f455814dd07af99bc3489e42fe3fd8bc6191
DIST LMDB_0.9.21.tar.gz 143352 BLAKE2B de206eb03ebd0ed329127380a2aeac693280d9c1d7b61a4a36c42889169b28adab30ecfeff37487b9e36f4e953bc6587e54b7a49dfd0969f2dec99e45bd09654 SHA512 e0f998507da654ccac02aa199367e8363c37f47e06ee0984085aae60fb086e49087824915bf8896f90187f1cc96e5c9caf5e5f72fa3911415151ca1e56f0309f
DIST LMDB_0.9.22.tar.gz 143468 BLAKE2B 125b447344cc601ad8af1c3cf0ba4d05474c8e7a4cafbca71446681a615884e82ae7fcdd4d8d6fdfa8e409a646115c3577972cdfcee8d792af0a1d82a8efbbd1 SHA512 49afca13b9683ed571c274380bb5e111236903b12d19bcb8781d6bbc00f711766b0d62de0b36536c85309cc9ff9e9d0aaa708e27bae9be6cfcaed8ba91e5545d
+DIST LMDB_0.9.23.tar.gz 143813 BLAKE2B 252acad974a7ed528fe0e52b8332845bc0b6076599bbc79ef2c3f41459acb6ccbe5f6030c6a258fe30633c4c0568fa05fa6d46dc05bab3f93ee3aab16e6faa89 SHA512 47466a96ce288d18d489acf1abf811aa973649848a4cac31f71e1f25ea781a055ebd6616d2d630214b2df2f146f12609c82d65be0196f49d6b46a6c96464e120
diff --git a/dev-db/lmdb/lmdb-0.9.23.ebuild b/dev-db/lmdb/lmdb-0.9.23.ebuild
new file mode 100644
index 00000000000..65a2931f0dd
--- /dev/null
+++ b/dev-db/lmdb/lmdb-0.9.23.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic multilib-minimal toolchain-funcs
+
+DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
+HOMEPAGE="https://symas.com/lmdb/technical/"
+SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
+
+LICENSE="OPENLDAP"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb"
+
+src_prepare() {
+ eapply_user
+ if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -lt 10 ]] ; then
+ # posix_memalign isn't available before 10.6, but on OSX
+ # malloc is always aligned for any addressable type
+ sed -i -e '/(__APPLE__)/a#define HAVE_MEMALIGN 1\n#define memalign(X,Y) malloc(X)' mdb.c || die
+ fi
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local soname="-Wl,-soname,liblmdb$(get_libname 0)"
+ [[ ${CHOST} == *-darwin* ]] && \
+ soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)"
+ sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \
+ -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \
+ -e "s!^AR.*!AR = $(tc-getAR)!" \
+ -e "s!^SOEXT.*!SOEXT = $(get_libname)!" \
+ -e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \
+ -e "/^libdir/s!lib\$!$(get_libdir)!" \
+ -e "s!shared!shared ${soname}!" \
+ "Makefile" || die
+
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ # fdatasync lives in -lrt on Solaris 10
+ [[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt
+ fi
+}
+
+multilib_src_compile() {
+ emake LDLIBS+=" -pthread"
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ mv "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname) \
+ "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname 0) || die
+ dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname)
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins "${FILESDIR}/lmdb.pc"
+ sed -i -e "s!@PACKAGE_VERSION@!${PV}!" \
+ -e "s!@prefix@!${EPREFIX}/usr!g" \
+ -e "s!@libdir@!$(get_libdir)!" \
+ "${ED}"/usr/$(get_libdir)/pkgconfig/lmdb.pc || die
+
+ if ! use static-libs; then
+ rm "${ED}"/usr/$(get_libdir)/liblmdb.a || die
+ fi
+}
next reply other threads:[~2019-02-03 19:40 UTC|newest]
Thread overview: 107+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-03 19:40 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-28 1:41 [gentoo-commits] repo/gentoo:master commit in: dev-db/lmdb/ Sam James
2024-11-28 1:41 Sam James
2024-11-28 1:41 Sam James
2024-11-28 1:41 Sam James
2024-11-25 22:38 Sam James
2024-11-23 16:27 Sam James
2024-11-23 16:20 Michał Górny
2024-07-21 1:12 Sam James
2024-05-08 7:03 Eray Aslan
2024-02-15 8:27 Eray Aslan
2024-02-14 16:29 Ionen Wolkens
2024-01-29 8:04 Eray Aslan
2024-01-29 8:04 Eray Aslan
2024-01-28 20:00 Arthur Zamarin
2024-01-28 20:00 Arthur Zamarin
2024-01-28 20:00 Arthur Zamarin
2024-01-28 18:57 Sam James
2024-01-28 18:57 Sam James
2024-01-28 18:08 Eray Aslan
2023-07-17 21:47 Sam James
2023-05-28 6:20 Eray Aslan
2023-05-06 16:08 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-01 4:15 Sam James
2023-05-01 1:53 Sam James
2023-02-10 1:05 Sam James
2022-05-13 12:19 WANG Xuerui
2022-01-10 15:14 James Le Cuirot
2022-01-05 9:57 Eray Aslan
2021-10-07 6:37 Sam James
2021-09-07 0:00 Sam James
2021-09-04 21:39 Sam James
2021-08-29 17:57 Sam James
2021-08-29 17:57 Sam James
2021-08-29 17:52 Sam James
2021-08-29 10:02 Agostino Sarubbo
2021-08-29 10:00 Agostino Sarubbo
2021-08-28 18:16 Sam James
2021-03-22 7:19 Eray Aslan
2021-03-20 13:41 Sergei Trofimovich
2021-03-15 21:55 Sam James
2021-03-15 13:43 Sam James
2021-03-15 7:10 Sam James
2021-03-15 6:32 Sam James
2021-03-15 6:32 Sam James
2021-02-18 20:14 Sam James
2021-02-18 19:57 Sergei Trofimovich
2021-02-16 15:31 Fabian Groffen
2021-02-16 14:32 Fabian Groffen
2021-02-12 22:16 Sam James
2021-02-12 22:16 Sam James
2021-02-10 16:51 Eray Aslan
2021-02-06 23:49 Sam James
2021-02-06 0:03 Sam James
2021-02-05 15:26 Sam James
2021-02-05 15:25 Sam James
2021-01-06 18:43 Fabian Groffen
2020-12-31 13:18 Fabian Groffen
2020-12-28 14:46 Eray Aslan
2020-12-27 14:05 Fabian Groffen
2019-12-02 11:05 Mikle Kolyada
2019-07-24 14:14 Lars Wendler
2019-05-21 6:16 Eray Aslan
2019-05-05 18:41 Mikle Kolyada
2019-04-24 12:36 Tobias Klausmann
2019-04-10 23:06 Aaron Bauman
2019-03-16 22:55 Sergei Trofimovich
2019-03-16 14:41 Mikle Kolyada
2019-03-15 10:14 Mikle Kolyada
2019-03-11 22:42 Sergei Trofimovich
2019-03-10 22:17 Sergei Trofimovich
2019-03-07 21:50 Thomas Deutschmann
2019-03-07 17:36 Mikle Kolyada
2019-03-05 21:18 Sergei Trofimovich
2019-01-08 13:45 Fabian Groffen
2018-10-26 0:52 Thomas Deutschmann
2018-10-25 17:15 Mikle Kolyada
2018-07-15 11:45 Mart Raudsepp
2018-06-12 13:25 Maxim Koltsov
2018-06-03 10:01 Mikle Kolyada
2018-03-29 8:05 Eray Aslan
2018-03-28 1:18 Matt Turner
2017-12-16 20:58 Fabian Groffen
2017-01-25 17:56 Fabian Groffen
2017-01-25 13:53 Fabian Groffen
2016-09-30 5:06 Eray Aslan
2016-09-29 4:11 Jeroen Roovers
2016-07-09 19:49 Zac Medico
2016-05-27 10:50 Tobias Klausmann
2016-03-30 18:33 Markus Meier
2016-03-20 11:53 Agostino Sarubbo
2016-03-14 22:13 Agostino Sarubbo
2016-02-12 8:26 Eray Aslan
2016-02-12 8:26 Eray Aslan
2016-02-12 8:26 Eray Aslan
2016-02-12 8:26 Eray Aslan
2016-02-12 8:26 Eray Aslan
2016-01-11 20:46 Robin H. Johnson
2015-12-25 21:01 Patrice Clement
2015-12-25 21:01 Patrice Clement
2015-09-18 5:24 Eray Aslan
2015-08-11 12:46 Eray Aslan
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=1549222574.8d5eed988b6238cb31043e2f70263c69202aaff5.asturm@gentoo \
--to=asturm@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