Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/gocr: ChangeLog gocr-0.47.ebuild
Date: Wed, 29 Apr 2009 22:53:18
Message-Id: E1LzIeR-0000IX-Rx@stork.gentoo.org
1 aballier 09/04/29 22:53:15
2
3 Modified: ChangeLog
4 Added: gocr-0.47.ebuild
5 Log:
6 version bump, bug #187942
7 (Portage version: 2.2_rc31/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.57 app-text/gocr/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?rev=1.57&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?rev=1.57&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?r1=1.56&r2=1.57
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v
19 retrieving revision 1.56
20 retrieving revision 1.57
21 diff -u -r1.56 -r1.57
22 --- ChangeLog 26 Oct 2008 13:43:25 -0000 1.56
23 +++ ChangeLog 29 Apr 2009 22:53:15 -0000 1.57
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-text/gocr
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.56 2008/10/26 13:43:25 aballier Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.57 2009/04/29 22:53:15 aballier Exp $
30 +
31 +*gocr-0.47 (29 Apr 2009)
32 +
33 + 29 Apr 2009; Alexis Ballier <aballier@g.o>
34 + +files/gocr-0.47-makefile.patch, +gocr-0.47.ebuild:
35 + version bump, bug #187942
36
37 *gocr-0.46 (26 Oct 2008)
38
39
40
41
42 1.1 app-text/gocr/gocr-0.47.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/gocr-0.47.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/gocr-0.47.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gocr-0.47.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/app-text/gocr/gocr-0.47.ebuild,v 1.1 2009/04/29 22:53:15 aballier Exp $
52
53 inherit eutils
54
55 DESCRIPTION="An OCR (Optical Character Recognition) reader"
56 HOMEPAGE="http://jocr.sourceforge.net"
57 SRC_URI="mirror://sourceforge/jocr/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="doc tk"
63
64 DEPEND=">=media-libs/netpbm-9.12
65 doc? ( >=media-gfx/transfig-3.2 virtual/ghostscript )
66 tk? ( dev-lang/tk )"
67
68 DOCS="AUTHORS BUGS CREDITS HISTORY RE* TODO"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73 epatch "${FILESDIR}/${P}-makefile.patch"
74 }
75
76 src_compile() {
77 local mymakes="src man"
78
79 use doc && mymakes="${mymakes} doc examples"
80
81 econf || die "econf failed"
82 emake ${mymakes} || die "make ${mymakes} failed"
83 }
84
85 src_install() {
86 emake DESTDIR="${D}" prefix="/usr" exec_prefix="/usr" install || die "make install failed"
87 # remove the tk frontend if tk is not selected
88 use tk || rm "${D}"/usr/bin/gocr.tcl
89 # and install the documentation and examples
90 if use doc ; then
91 DOCS="${DOCS} doc/gocr.html doc/examples.txt doc/unicode.txt"
92 insinto /usr/share/doc/${P}/examples
93 doins "${S}"/examples/*.{fig,tex,pcx}
94 fi
95 # and then install all the docs
96 dodoc ${DOCS}
97 }