Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/rhyme: ChangeLog rhyme-0.9-r1.ebuild
Date: Tue, 28 Sep 2010 17:28:48
Message-Id: 20100928172844.F3CAC20051@flycatcher.gentoo.org
1 jer 10/09/28 17:28:44
2
3 Modified: ChangeLog
4 Added: rhyme-0.9-r1.ebuild
5 Log:
6 Respect LDFLAGS (bug #336977). Drop unused dependency and change sed script to not link against termcap or ncurses at all.
7
8 (Portage version: 2.2_rc86/cvs/Linux i686)
9
10 Revision Changes Path
11 1.14 app-text/rhyme/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/rhyme/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/rhyme/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/rhyme/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/rhyme/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 19 Sep 2009 18:31:07 -0000 1.13
24 +++ ChangeLog 28 Sep 2010 17:28:44 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-text/rhyme
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/rhyme/ChangeLog,v 1.13 2009/09/19 18:31:07 patrick Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/rhyme/ChangeLog,v 1.14 2010/09/28 17:28:44 jer Exp $
31 +
32 +*rhyme-0.9-r1 (28 Sep 2010)
33 +
34 + 28 Sep 2010; Jeroen Roovers <jer@g.o> +rhyme-0.9-r1.ebuild:
35 + Respect LDFLAGS (bug #336977). Drop unused dependency and change sed
36 + script to not link against termcap or ncurses at all.
37
38 19 Sep 2009; Patrick Lauer <patrick@g.o> rhyme-0.9.ebuild:
39 Restricting tests #277940 and adding ~amd64 keyword
40
41
42
43 1.1 app-text/rhyme/rhyme-0.9-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/rhyme/rhyme-0.9-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/rhyme/rhyme-0.9-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: rhyme-0.9-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/rhyme/rhyme-0.9-r1.ebuild,v 1.1 2010/09/28 17:28:44 jer Exp $
53
54 EAPI="2"
55
56 inherit toolchain-funcs
57
58 # missing files ...
59 RESTRICT="test"
60
61 DESCRIPTION="Console based Rhyming Dictionary"
62 HOMEPAGE="http://rhyme.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/rhyme/${P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~x86"
68 IUSE=""
69
70 DEPEND=">=sys-libs/readline-4.3
71 >=sys-libs/gdbm-1.8.0"
72 RDEPEND="${DEPEND}"
73
74 src_prepare() {
75 # termcap is used by default, switch to ncurses
76 sed -i Makefile \
77 -e 's|-ltermcap||g' \
78 -e 's|-o rhyme|$(LDFLAGS) &|g' \
79 || die "sed Makefile"
80 }
81
82 src_compile() {
83 # Disable parallell building wrt bug #125967
84 emake -j1 CC="$(tc-getCC)" FLAGS="${CFLAGS}" || die "emake failed"
85 }
86
87 src_install() {
88 # author doesnt use -D for install
89 dodir /usr/share/rhyme /usr/bin /usr/share/man/man1
90
91 einstall BINPATH="${D}"/usr/bin \
92 MANPATH="${D}"/usr/share/man/man1 \
93 RHYMEPATH="${D}"/usr/share/rhyme
94 }