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/kyotocabinet: ChangeLog kyotocabinet-1.2.69.ebuild
Date: Fri, 29 Jul 2011 22:12:37
Message-Id: 20110729221228.47B432004B@flycatcher.gentoo.org
1 patrick 11/07/29 22:12:28
2
3 Modified: ChangeLog
4 Added: kyotocabinet-1.2.69.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 dev-db/kyotocabinet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 18 Jun 2011 17:17:45 -0000 1.11
24 +++ ChangeLog 29 Jul 2011 22:12:28 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-db/kyotocabinet
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/ChangeLog,v 1.11 2011/06/18 17:17:45 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/ChangeLog,v 1.12 2011/07/29 22:12:28 patrick Exp $
30 +
31 +*kyotocabinet-1.2.69 (29 Jul 2011)
32 +
33 + 29 Jul 2011; Patrick Lauer <patrick@g.o> +kyotocabinet-1.2.69.ebuild:
34 + Bump
35
36 *kyotocabinet-1.2.62 (18 Jun 2011)
37
38
39
40
41 1.1 dev-db/kyotocabinet/kyotocabinet-1.2.69.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/kyotocabinet-1.2.69.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/kyotocabinet-1.2.69.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kyotocabinet-1.2.69.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/kyotocabinet-1.2.69.ebuild,v 1.1 2011/07/29 22:12:28 patrick Exp $
51
52 EAPI="2"
53
54 inherit eutils
55
56 DESCRIPTION="A straightforward implementation of DBM"
57 HOMEPAGE="http://fallabs.com/kyotocabinet/"
58 SRC_URI="${HOMEPAGE}pkg/${P}.tar.gz"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
63 IUSE="debug doc examples static-libs"
64
65 DEPEND="sys-libs/zlib
66 app-arch/xz-utils"
67 RDEPEND="${DEPEND}"
68
69 src_prepare() {
70 epatch "${FILESDIR}/fix_configure-1.2.62.patch"
71 sed -ie "/ldconfig/d" Makefile.in
72 sed -ie "/DOCDIR/d" Makefile.in
73 }
74
75 src_configure() {
76 econf $(use_enable debug) \
77 $(use_enable static-libs static) \
78 $(use_enable !static-libs shared) \
79 --enable-lzma --docdir=/usr/share/doc/${PF}
80 }
81
82 src_install() {
83 emake DESTDIR="${D}" install || die "Install failed"
84 use static-libs || find "${D}" \( -name '*.a' -or -name '*.la' \) -delete
85
86 if use examples; then
87 insinto /usr/share/${PF}/example
88 doins example/* || die "Install failed"
89 fi
90
91 if use doc; then
92 insinto /usr/share/doc/${PF}
93 doins -r doc/* || die "Install failed"
94 fi
95 }
96
97 src_test() {
98 emake -j1 check || die "Tests failed"
99 }