diff options
Diffstat (limited to 'app-text/ocrad')
-rw-r--r-- | app-text/ocrad/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/ocrad/ocrad-0.15.ebuild | 33 | ||||
-rw-r--r-- | app-text/ocrad/ocrad-0.18.ebuild | 44 |
3 files changed, 5 insertions, 78 deletions
diff --git a/app-text/ocrad/ChangeLog b/app-text/ocrad/ChangeLog index b9106417ac76..9b69c286fd43 100644 --- a/app-text/ocrad/ChangeLog +++ b/app-text/ocrad/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/ocrad # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ocrad/ChangeLog,v 1.36 2014/02/27 21:14:33 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ocrad/ChangeLog,v 1.37 2014/02/27 21:16:18 ssuominen Exp $ + + 27 Feb 2014; Samuli Suominen <ssuominen@gentoo.org> -ocrad-0.15.ebuild, + -ocrad-0.18.ebuild: + old 27 Feb 2014; Samuli Suominen <ssuominen@gentoo.org> ocrad-0.21.ebuild: Use the unpacker.eclass wrt #501912 diff --git a/app-text/ocrad/ocrad-0.15.ebuild b/app-text/ocrad/ocrad-0.15.ebuild deleted file mode 100644 index c6b640974d2d..000000000000 --- a/app-text/ocrad/ocrad-0.15.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ocrad/ocrad-0.15.ebuild,v 1.8 2010/07/21 19:39:22 ssuominen Exp $ - -inherit toolchain-funcs eutils - -IUSE="" - -DESCRIPTION="GNU Ocrad is an OCR (Optical Character Recognition) program" - -SRC_URI="http://savannah.nongnu.org/download/ocrad/${P}.tar.bz2" -HOMEPAGE="http://www.gnu.org/software/ocrad/ocrad.html" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ppc ~ppc64 sparc ~x86" - -DEPEND="" - -src_compile() { - # econf doesn't work (unrecognized option --host) - ./configure --prefix=/usr || die - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" || die -} - -src_install() { - make DESTDIR="${D}" install || die - - doman doc/ocrad.1 - dodoc NEWS TODO README - insinto /usr/share/doc/${PF} - doins -r examples -} diff --git a/app-text/ocrad/ocrad-0.18.ebuild b/app-text/ocrad/ocrad-0.18.ebuild deleted file mode 100644 index 54fa5d4422e8..000000000000 --- a/app-text/ocrad/ocrad-0.18.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ocrad/ocrad-0.18.ebuild,v 1.5 2011/02/11 18:16:16 xarthisius Exp $ - -inherit toolchain-funcs - -DESCRIPTION="GNU Ocrad is an OCR (Optical Character Recognition) program" -HOMEPAGE="http://www.gnu.org/software/ocrad/ocrad.html" -SRC_URI="http://savannah.nongnu.org/download/ocrad/${P}.tar.lz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -RDEPEND="" -DEPEND="app-arch/lzip" - -src_unpack() { - local i s - for i in ${A} - do - s="${DISTDIR%/}/${i}" - einfo "Unpacking ${s} to ${PWD}" - test -s "${s}" || die "${s} does not exist" - lzip -dc -- "${s}" | tar xof - || die "Unpacking ${s} failed" - done -} - -src_compile() { - econf CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" - emake || die "emake failed." -} - -src_test() { - testsuite/check.sh testsuite || die "tests failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - doman doc/ocrad.1 - doinfo doc/ocrad.info - dodoc AUTHORS NEWS README TODO -} |