1 |
aballier 08/10/26 13:43:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gocr-0.46.ebuild |
5 |
Log: |
6 |
version bump, thanks to Ed Davison for the report and Daniel Pielmeier for the updated patch. Bug #243250 |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27.3 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.56 app-text/gocr/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?rev=1.56&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?rev=1.56&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/ChangeLog?r1=1.55&r2=1.56 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v |
19 |
retrieving revision 1.55 |
20 |
retrieving revision 1.56 |
21 |
diff -u -r1.55 -r1.56 |
22 |
--- ChangeLog 6 Apr 2008 18:55:37 -0000 1.55 |
23 |
+++ ChangeLog 26 Oct 2008 13:43:25 -0000 1.56 |
24 |
@@ -1,6 +1,13 @@ |
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.55 2008/04/06 18:55:37 klausman Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.56 2008/10/26 13:43:25 aballier Exp $ |
29 |
+ |
30 |
+*gocr-0.46 (26 Oct 2008) |
31 |
+ |
32 |
+ 26 Oct 2008; Alexis Ballier <aballier@g.o> |
33 |
+ +files/gocr-0.46-makefile.patch, +gocr-0.46.ebuild: |
34 |
+ version bump, thanks to Ed Davison for the report and Daniel Pielmeier for |
35 |
+ the updated patch. Bug #243250 |
36 |
|
37 |
06 Apr 2008; Tobias Klausmann <klausman@g.o> gocr-0.45.ebuild: |
38 |
Stable on alpha, bug #189461 |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-text/gocr/gocr-0.46.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/gocr-0.46.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/gocr-0.46.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gocr-0.46.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 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.46.ebuild,v 1.1 2008/10/26 13:43:25 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 |
} |