Magellan Linux

Contents of /trunk/todo/gocr/gocr-0.45-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2349 - (show annotations) (download)
Thu Jul 9 19:41:04 2009 UTC (14 years, 10 months ago) by niro
File size: 838 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/gocr/gocr-0.45-r1.smage2,v 1.1 2008/04/20 21:40:38 niro Exp $
2
3 PNAME="gocr"
4 PVER="0.45"
5 PBUILD="r1"
6
7 PCATEGORIE="app-text"
8 STATE="unstable"
9
10 DESCRIPTION="GOCR is an OCR (Optical Character Recognition) program."
11 HOMEPAGE="http://jocr.sourceforge.net/"
12
13 DEPEND=">= media-libs/netpbm-10.41"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 sourceforge://jocr/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 src_compile()
26 {
27 cd ${SRCDIR}
28 mconfigure || die
29
30 # left out the gtk frontend, docs and examples
31 mmake src man || die
32 }
33
34 src_install ()
35 {
36 cd ${SRCDIR}
37 mmake DESTDIR=${BINDIR} prefix=/usr exec_prefix=/usr install || die
38
39 # remove unwanted frontends
40 rm ${BINDIR}/usr/bin/gocr.tcl || die
41
42 minstalldocs AUTHORS BUGS CREDITS HISTORY RE* TODO || die
43 }

Properties

Name Value
svn:keywords Id