Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/tokyotyrant: ChangeLog tokyotyrant-1.1.37.ebuild
Date: Tue, 27 Oct 2009 21:07:56
Message-Id: E1N2tGk-0004pZ-1y@stork.gentoo.org
1 patrick 09/10/27 21:07:54
2
3 Modified: ChangeLog
4 Added: tokyotyrant-1.1.37.ebuild
5 Log:
6 Bump, closes #290808
7 (Portage version: 2.2_rc46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 net-misc/tokyotyrant/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 20 Oct 2009 18:48:32 -0000 1.2
23 +++ ChangeLog 27 Oct 2009 21:07:53 -0000 1.3
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-misc/tokyotyrant
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/ChangeLog,v 1.2 2009/10/20 18:48:32 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/ChangeLog,v 1.3 2009/10/27 21:07:53 patrick Exp $
29 +
30 +*tokyotyrant-1.1.37 (27 Oct 2009)
31 +
32 + 27 Oct 2009; Patrick Lauer <patrick@g.o>
33 + +tokyotyrant-1.1.37.ebuild:
34 + Bump, closes #290808
35
36 *tokyotyrant-1.1.36 (20 Oct 2009)
37
38
39
40
41 1.1 net-misc/tokyotyrant/tokyotyrant-1.1.37.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/tokyotyrant-1.1.37.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/tokyotyrant-1.1.37.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tokyotyrant-1.1.37.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/tokyotyrant-1.1.37.ebuild,v 1.1 2009/10/27 21:07:53 patrick Exp $
51
52 EAPI=2
53
54 inherit eutils
55
56 DESCRIPTION="A network interface to Tokyo Cabinet"
57 HOMEPAGE="http://1978th.net/tokyotyrant/"
58 SRC_URI="${HOMEPAGE}${P}.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="debug lua"
64
65 DEPEND="dev-db/tokyocabinet
66 sys-libs/zlib
67 app-arch/bzip2
68 lua? ( dev-lang/lua )"
69 RDEPEND="${DEPEND}"
70
71 pkg_setup() {
72 enewgroup tyrant
73 enewuser tyrant -1 -1 /var/lib/${PN} tyrant
74 }
75
76 src_prepare() {
77 epatch "${FILESDIR}"/fix_makefiles.patch
78 epatch "${FILESDIR}"/fix_testsuite.patch
79 }
80
81 src_configure() {
82 econf \
83 $(use_enable debug) \
84 $(use_enable lua)
85 }
86
87 src_install() {
88 rm ttservctl || die "Install failed"
89 emake DESTDIR="${D}" install || die "Install failed"
90
91 for x in /var/{lib,run,log}/${PN}; do
92 dodir "${x}" || die "Install failed"
93 fowners tyrant:tyrant "${x}"
94 done
95
96 newinitd "${FILESDIR}/${PN}.initd" ${PN} || die "Install failed"
97 newconfd "${FILESDIR}/${PN}.confd" ${PN} || die "Install failed"
98
99 }
100
101 src_test() {
102 emake -j1 check || die "Tests failed"
103 }