Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/tokyocabinet: tokyocabinet-1.4.48.ebuild ChangeLog
Date: Thu, 23 Aug 2012 04:24:17
Message-Id: 20120823042359.BCC99203FD@flycatcher.gentoo.org
1 patrick 12/08/23 04:23:59
2
3 Modified: ChangeLog
4 Added: tokyocabinet-1.4.48.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha122/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.43 dev-db/tokyocabinet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokyocabinet/ChangeLog?rev=1.43&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokyocabinet/ChangeLog?rev=1.43&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokyocabinet/ChangeLog?r1=1.42&r2=1.43
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/ChangeLog,v
20 retrieving revision 1.42
21 retrieving revision 1.43
22 diff -u -r1.42 -r1.43
23 --- ChangeLog 25 Apr 2012 16:22:24 -0000 1.42
24 +++ ChangeLog 23 Aug 2012 04:23:59 -0000 1.43
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-db/tokyocabinet
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/ChangeLog,v 1.42 2012/04/25 16:22:24 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/ChangeLog,v 1.43 2012/08/23 04:23:59 patrick Exp $
30 +
31 +*tokyocabinet-1.4.48 (23 Aug 2012)
32 +
33 + 23 Aug 2012; Patrick Lauer <patrick@g.o> +tokyocabinet-1.4.48.ebuild:
34 + Bump
35
36 25 Apr 2012; Justin Lecher <jlec@g.o> tokyocabinet-1.4.47.ebuild:
37 Drop unnessecary die
38 @@ -184,4 +189,3 @@
39 +tokyocabinet-1.4.34-r1.ebuild, +files/fix_rpath.patch, +metadata.xml:
40 Initial import of tokyocabinet. Thanks to Petteri Räty, Mark Lewandowski
41 and Johan Bergstroem for the ebuild. Fixes #240696
42 -
43
44
45
46 1.1 dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild?rev=1.1&content-type=text/plain
50
51 Index: tokyocabinet-1.4.48.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-db/tokyocabinet/tokyocabinet-1.4.48.ebuild,v 1.1 2012/08/23 04:23:59 patrick Exp $
56
57 EAPI="2"
58
59 inherit eutils autotools
60
61 DESCRIPTION="A library of routines for managing a database"
62 HOMEPAGE="http://fallabs.com/tokyocabinet/"
63 SRC_URI="${HOMEPAGE}${P}.tar.gz"
64
65 LICENSE="LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
68 IUSE="debug doc examples"
69
70 DEPEND="sys-libs/zlib
71 app-arch/bzip2"
72 RDEPEND="${DEPEND}"
73
74 src_prepare() {
75 epatch "${FILESDIR}/fix_rpath.patch"
76 sed -i \
77 -e "/ldconfig/d" \
78 -e "/DATADIR/d" Makefile.in || die
79 # cflags fix - remove -O2 at end of line and -fomit-frame-pointer
80 sed -i -e 's/-O3"$/"/' configure.in || die
81 sed -i -e 's/-fomit-frame-pointer//' configure.in || die
82 # flag only works on x86 derivatives, remove everywhere else
83 if ! use x86 && ! use amd64; then sed -i -e 's/ -minline-all-stringops//' configure.in; fi
84 eautoreconf
85 }
86
87 src_configure() {
88 # we use the "fastest" target without the -O3
89 econf $(use_enable debug) --enable-off64 --enable-fastest
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" install || die "Install failed"
94
95 if use examples; then
96 insinto /usr/share/${PF}/example
97 doins example/* || die "Install failed"
98 fi
99
100 if use doc; then
101 insinto /usr/share/doc/${PF}
102 doins -r doc/* || die "Install failed"
103 fi
104 }
105
106 src_test() {
107 emake -j1 check || die "Tests failed"
108 }