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: kyotocabinet-1.2.76.ebuild ChangeLog
Date: Wed, 30 May 2012 03:42:26
Message-Id: 20120530034210.2E2372004B@flycatcher.gentoo.org
1 patrick 12/05/30 03:42:10
2
3 Modified: ChangeLog
4 Added: kyotocabinet-1.2.76.ebuild
5 Log:
6 Bump for #417955
7
8 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 dev-db/kyotocabinet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 11 May 2012 14:36:20 -0000 1.17
24 +++ ChangeLog 30 May 2012 03:42:10 -0000 1.18
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-db/kyotocabinet
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/ChangeLog,v 1.17 2012/05/11 14:36:20 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/ChangeLog,v 1.18 2012/05/30 03:42:10 patrick Exp $
30 +
31 +*kyotocabinet-1.2.76 (30 May 2012)
32 +
33 + 30 May 2012; Patrick Lauer <patrick@g.o> +kyotocabinet-1.2.76.ebuild:
34 + Bump for #417955
35
36 *kyotocabinet-1.2.75 (11 May 2012)
37
38
39
40
41 1.1 dev-db/kyotocabinet/kyotocabinet-1.2.76.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/kyotocabinet-1.2.76.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/kyotocabinet/kyotocabinet-1.2.76.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kyotocabinet-1.2.76.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.76.ebuild,v 1.1 2012/05/30 03:42:10 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 }