1 |
commit: 4083dff8d9f15693386d82e0537af29981122bd3 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 29 14:44:30 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 29 20:10:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4083dff8 |
7 |
|
8 |
dev-db/tokyocabinet: drop EAPI=2 ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild | 55 -------------------------- |
13 |
1 file changed, 55 deletions(-) |
14 |
|
15 |
diff --git a/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild b/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild |
16 |
deleted file mode 100644 |
17 |
index 3296d12046c..00000000000 |
18 |
--- a/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,55 +0,0 @@ |
21 |
-# Copyright 1999-2012 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="2" |
25 |
- |
26 |
-inherit eutils autotools |
27 |
- |
28 |
-DESCRIPTION="A library of routines for managing a database" |
29 |
-HOMEPAGE="http://fallabs.com/tokyocabinet/" |
30 |
-SRC_URI="${HOMEPAGE}${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="LGPL-2.1" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="alpha amd64 hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
35 |
-IUSE="debug doc examples" |
36 |
- |
37 |
-DEPEND="sys-libs/zlib |
38 |
- app-arch/bzip2" |
39 |
-RDEPEND="${DEPEND}" |
40 |
- |
41 |
-src_prepare() { |
42 |
- epatch "${FILESDIR}/fix_rpath.patch" |
43 |
- sed -i \ |
44 |
- -e "/ldconfig/d" \ |
45 |
- -e "/DATADIR/d" Makefile.in || die |
46 |
- # cflags fix - remove -O2 at end of line and -fomit-frame-pointer |
47 |
- sed -i -e 's/-O3"$/"/' configure.in || die |
48 |
- sed -i -e 's/-fomit-frame-pointer//' configure.in || die |
49 |
- # flag only works on x86 derivatives, remove everywhere else |
50 |
- if ! use x86 && ! use amd64; then sed -i -e 's/ -minline-all-stringops//' configure.in; fi |
51 |
- eautoreconf |
52 |
-} |
53 |
- |
54 |
-src_configure() { |
55 |
- # we use the "fastest" target without the -O3 |
56 |
- econf $(use_enable debug) --enable-off64 --enable-fastest |
57 |
-} |
58 |
- |
59 |
-src_install() { |
60 |
- emake DESTDIR="${D}" install || die "Install failed" |
61 |
- |
62 |
- if use examples; then |
63 |
- insinto /usr/share/${PF}/example |
64 |
- doins example/* || die "Install failed" |
65 |
- fi |
66 |
- |
67 |
- if use doc; then |
68 |
- insinto /usr/share/doc/${PF} |
69 |
- doins -r doc/* || die "Install failed" |
70 |
- fi |
71 |
-} |
72 |
- |
73 |
-src_test() { |
74 |
- emake -j1 check || die "Tests failed" |
75 |
-} |