summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2012-04-27 20:59:12 +0000
committerAndrey Grozin <grozin@gentoo.org>2012-04-27 20:59:12 +0000
commit71039d894a28ac7de60bf0468367fd8623bb8bb4 (patch)
tree3a901cbd70d186a43d25d39e65524fb1ca711ddf /app-text/getxbook
parentFresh amd64 binpackages... (diff)
downloadgentoo-2-71039d894a28ac7de60bf0468367fd8623bb8bb4.tar.gz
gentoo-2-71039d894a28ac7de60bf0468367fd8623bb8bb4.tar.bz2
gentoo-2-71039d894a28ac7de60bf0468367fd8623bb8bb4.zip
Version bump; fixing a typo in the old ebuild
(Portage version: 2.2.0_alpha101/cvs/Linux i686)
Diffstat (limited to 'app-text/getxbook')
-rw-r--r--app-text/getxbook/ChangeLog8
-rw-r--r--app-text/getxbook/getxbook-0.8.ebuild4
-rw-r--r--app-text/getxbook/getxbook-0.9.ebuild44
3 files changed, 53 insertions, 3 deletions
diff --git a/app-text/getxbook/ChangeLog b/app-text/getxbook/ChangeLog
index b2c0cc40f2e1..618752f8104c 100644
--- a/app-text/getxbook/ChangeLog
+++ b/app-text/getxbook/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/getxbook
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/getxbook/ChangeLog,v 1.1 2012/02/15 08:45:36 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/getxbook/ChangeLog,v 1.2 2012/04/27 20:59:12 grozin Exp $
+
+*getxbook-0.9 (27 Apr 2012)
+
+ 27 Apr 2012; Andrey Grozin <grozin@gentoo.org> getxbook-0.8.ebuild,
+ +getxbook-0.9.ebuild:
+ Version bump; fixing a typo in the old ebuild
*getxbook-0.8 (15 Feb 2012)
diff --git a/app-text/getxbook/getxbook-0.8.ebuild b/app-text/getxbook/getxbook-0.8.ebuild
index 646b64e70376..c852241dab26 100644
--- a/app-text/getxbook/getxbook-0.8.ebuild
+++ b/app-text/getxbook/getxbook-0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/getxbook/getxbook-0.8.ebuild,v 1.1 2012/02/15 08:45:36 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/getxbook/getxbook-0.8.ebuild,v 1.2 2012/04/27 20:59:12 grozin Exp $
EAPI=4
inherit eutils toolchain-funcs
@@ -35,7 +35,7 @@ src_install() {
exeinto /usr/bin
use pdf && doexe extras/mkpdf.sh
use djvu && doexe extras/mkdjvu.sh
- if use tesseract; then
+ if use ocr; then
doexe extras/mkocrtxt.sh
use pdf && doexe extras/mkocrpdf.sh
use djvu && doexe extras/mkocrdjvu.sh
diff --git a/app-text/getxbook/getxbook-0.9.ebuild b/app-text/getxbook/getxbook-0.9.ebuild
new file mode 100644
index 000000000000..7bb32336f6a2
--- /dev/null
+++ b/app-text/getxbook/getxbook-0.9.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/getxbook/getxbook-0.9.ebuild,v 1.1 2012/04/27 20:59:12 grozin Exp $
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Download books from google, amazon, barnes and noble."
+HOMEPAGE="http://njw.me.uk/software/getxbook/"
+SRC_URI="http://njw.me.uk/software/getxbook/${P}.tar.bz2"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="pdf djvu ocr tk"
+
+DEPEND=""
+RDEPEND="djvu? ( app-text/djvu )
+ pdf? ( media-gfx/imagemagick )
+ ocr? ( app-text/tesseract
+ pdf? ( media-gfx/exact-image app-text/pdftk ) )
+ tk? ( dev-lang/tk )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-makefile.patch
+}
+
+src_compile() {
+ tc-export CXX
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README LEGAL
+ exeinto /usr/bin
+ use pdf && doexe extras/mkpdf.sh
+ use djvu && doexe extras/mkdjvu.sh
+ if use ocr; then
+ doexe extras/mkocrtxt.sh
+ use pdf && doexe extras/mkocrpdf.sh
+ use djvu && doexe extras/mkocrdjvu.sh
+ fi
+ use tk && doexe getxbookgui.tcl
+}