Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
Original Path: trunk/extras/gocr/gocr-0.45-r1.smage2
File size: 838 byte(s)
import repo
1 niro 2 # $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