Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.40.ebuild,v 1.3 2006/04/23 17:40:56 corsair Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.40.ebuild,v 1.3 2006/04/23 17:40:56 corsair Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils |
6 |
|
5 |
DESCRIPTION="An OCR (Optical Character Recognition) reader" |
7 |
DESCRIPTION="An OCR (Optical Character Recognition) reader" |
6 |
HOMEPAGE="http://jocr.sourceforge.net" |
8 |
HOMEPAGE="http://jocr.sourceforge.net" |
7 |
SRC_URI="mirror://sourceforge/jocr/${P}.tar.gz" |
9 |
SRC_URI="mirror://sourceforge/jocr/${P}.tar.gz" |
Lines 21-28
Link Here
|
21 |
|
23 |
|
22 |
unpack ${A} |
24 |
unpack ${A} |
23 |
# fix for erroneous Makefile in frontend/ |
25 |
# fix for erroneous Makefile in frontend/ |
24 |
cd ${S}/frontend |
26 |
cd "${S}"/frontend |
25 |
sed -i -e "s/configure/\.\/configure/" Makefile |
27 |
sed -i -e "s/configure/\.\/configure/" Makefile |
|
|
28 |
# fix compilation with LDFLAGS="-Wl,--as-needed" |
29 |
cd "${S}" |
30 |
epatch "${FILESDIR}"/${P}-as-needed.patch |
26 |
|
31 |
|
27 |
} |
32 |
} |
28 |
|
33 |
|