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