From 0bff53119f08d677db6c1a991bd30741682a8a08 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 2 Jun 2018 17:13:10 +0100 Subject: Revert "gentoo resync : 02.06.2018" This reverts commit 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec. --- dev-db/tokyocabinet/Manifest | 1 + dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild | 55 ++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild (limited to 'dev-db/tokyocabinet') diff --git a/dev-db/tokyocabinet/Manifest b/dev-db/tokyocabinet/Manifest index a0f3027554f1..ced6ae19b604 100644 --- a/dev-db/tokyocabinet/Manifest +++ b/dev-db/tokyocabinet/Manifest @@ -1,4 +1,5 @@ AUX fix_rpath.patch 2111 BLAKE2B 3aa9797555e0eb02a3d63e4e117e8aff5c7c0a09922cf6b0344777cd95b2480623f05fe68cfe63750ba00ff954bd6bb3e1a587c4e8af31086c94b2b3344cc08e SHA512 c0ee076d048d8ec4a77b036d0503776c4e3ca7a97c30cd8ba41cb0d99707ad5021613e1d308f6e73cc3432e0f71f7b38429ca0edcbc4edfe0d96955fc56b3504 DIST tokyocabinet-1.4.48.tar.gz 1000485 BLAKE2B 4da2659a90dcee1cc99be286fe0e286ee75bd8179b75a944f229a3cc04169b8007220e36400d4934a7b5fde554bbc1783c4813fdf44b4a3530882ea0a8ef258e SHA512 b9995c838e713c13f781ab41062caefeb5c613f696dab08039f992f6860413d60a513114b83468cafdf7fc5b5e51ab880226972465d532f873f2a55f615e1440 EBUILD tokyocabinet-1.4.48-r1.ebuild 1592 BLAKE2B 26daee479da2d95f8cb39ae260ac1e4ee4691fb9825db3bd535ddd77494833e4a056d004d62d8c55016810309e14718b56bd159882f8deb65feb58590dddd6f0 SHA512 f0e8de07975fe2be4a9b074f76761eb257c0dc77e9db5a2fc9dfd0c6275085318fd620624fd30518f4c5072327a93e9e725db56e51d9ac35ddd034174e233f02 +EBUILD tokyocabinet-1.4.48.ebuild 1434 BLAKE2B 00f0696547bb49ad1cfba7a5bde574d6b9aa6d1f156fbe5d8d7ab950f13682f51c381ad06ffa08130507b07cc4a05ed71d4e8e1f5507fca9ea38c9e32fb625fa SHA512 f4e9e127ce970ab86af1e2a58cb83533250c1c62fd3227ceb93312babc384a980556e05700947f67c6fd121259b9030c78a7230b3ce860bca63b468bcf6f9dad MISC metadata.xml 247 BLAKE2B 5a20af3c9732ef7dba68131a08988652f5c93a6d186a82c4deb1bb9c06dc3ae73152a0d241cc346637f7b11caf4676da43301ba596c67b66669535e71db0b03e SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 diff --git a/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild b/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild new file mode 100644 index 000000000000..3296d12046cb --- /dev/null +++ b/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit eutils autotools + +DESCRIPTION="A library of routines for managing a database" +HOMEPAGE="http://fallabs.com/tokyocabinet/" +SRC_URI="${HOMEPAGE}${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +IUSE="debug doc examples" + +DEPEND="sys-libs/zlib + app-arch/bzip2" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/fix_rpath.patch" + sed -i \ + -e "/ldconfig/d" \ + -e "/DATADIR/d" Makefile.in || die + # cflags fix - remove -O2 at end of line and -fomit-frame-pointer + sed -i -e 's/-O3"$/"/' configure.in || die + sed -i -e 's/-fomit-frame-pointer//' configure.in || die + # flag only works on x86 derivatives, remove everywhere else + if ! use x86 && ! use amd64; then sed -i -e 's/ -minline-all-stringops//' configure.in; fi + eautoreconf +} + +src_configure() { + # we use the "fastest" target without the -O3 + econf $(use_enable debug) --enable-off64 --enable-fastest +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + + if use examples; then + insinto /usr/share/${PF}/example + doins example/* || die "Install failed" + fi + + if use doc; then + insinto /usr/share/doc/${PF} + doins -r doc/* || die "Install failed" + fi +} + +src_test() { + emake -j1 check || die "Tests failed" +} -- cgit v1.2.3