summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-01 22:15:37 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-01 22:15:58 +0300
commit5da823f0d2502cedded15bbfe42dbdfa217359d9 (patch)
tree710cfb93cbbb7bfae2861b042371276bf674831e /app-text
parentdev-libs/libfmt: Switch to cmake.eclass (diff)
downloadgentoo-5da823f0d2502cedded15bbfe42dbdfa217359d9.tar.gz
gentoo-5da823f0d2502cedded15bbfe42dbdfa217359d9.tar.bz2
gentoo-5da823f0d2502cedded15bbfe42dbdfa217359d9.zip
app-text/ocrad: Version bump (v0.27)
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/ocrad/Manifest1
-rw-r--r--app-text/ocrad/ocrad-0.27.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/app-text/ocrad/Manifest b/app-text/ocrad/Manifest
index 703b3913a3c3..5e7e0ef62f47 100644
--- a/app-text/ocrad/Manifest
+++ b/app-text/ocrad/Manifest
@@ -3,3 +3,4 @@ DIST ocrad-0.23.tar.lz 87385 BLAKE2B 9f6ece19f815e1e6011aef5c2c90f1772bdc9621586
DIST ocrad-0.24.tar.lz 84506 BLAKE2B 814604ffb04cc3b4e40a7c3a07d90c9d07e4b64afd4d97bc5043e1019eeb347dd1105481dbaa721951efe4aaea729dd87f3510f3ee7dd9b277d96f9d6cb33ea2 SHA512 c43cb4dc678e9588e7061af6ea83a0514181e56201fe5ab68b50b8a1c8e1ae7c7fbf959cdf172b7200b89d9e6b1f42261ead4fbf3a6d0123860feff7954e532d
DIST ocrad-0.25.tar.lz 91464 BLAKE2B 424d2a67eee85bb2d66568c4869761f2ef63c7c274b3a5a0a1c82920bc23becb97553b76dd4a7af5ca4400e806a05e927581060420f70483eaf8a77bf865e05f SHA512 48a0753d699af909d4d0295005e12ec626dad8772a5212c0d579df3b24cf01f6e457ec61edc708a0f6eebace75f37ce0544e8b19c11c9a25166aafedc92c258f
DIST ocrad-0.26.tar.lz 91450 BLAKE2B 9ce2324c30ce3236689236ff2f7079d89078c61c4c78efef8c7c34fad2351fdc59a67a1ef995b3ec1b64620f7262563126c0305e3ffda3c5ec04ee5cf4c39a05 SHA512 6cf4c97c4dbbc3a623192de2da261e4854dc3082a26d9731fd00feb8ed371cb18d41f5a8ed992f98e2a00aed68d60f1f3aa90b05f8472431fcf5bc5e3d10e70c
+DIST ocrad-0.27.tar.lz 91709 BLAKE2B 4dd152e6ccbd41d2ce7e7e3d4fc38e30af4f0bb9c36e32b1f32e67772347af133cf67a8b89c03d5c9924a1d4ffa009205b80609cdb96a59b3dbeb76709a8e8e1 SHA512 2a4731e0e26eefe6d37b08859c4d3cc2b54180411b0f846f7b7e873b9da5b4596ca3c6042ee42284a07aadfeb96d953dce3e95ce2410e48624d1b6020750539c
diff --git a/app-text/ocrad/ocrad-0.27.ebuild b/app-text/ocrad/ocrad-0.27.ebuild
new file mode 100644
index 000000000000..2dba77c125e6
--- /dev/null
+++ b/app-text/ocrad/ocrad-0.27.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit unpacker toolchain-funcs
+
+DESCRIPTION="GNU Ocrad is an OCR (Optical Character Recognition) program"
+HOMEPAGE="https://www.gnu.org/software/ocrad/ocrad.html"
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.lz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="$(unpacker_src_uri_depends)"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_configure() {
+ # ./configure is not based on autotools
+ ./configure \
+ CPPFLAGS="${CPPFLAGS}" \
+ CXX="$(tc-getCXX)" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ --prefix=/usr || die
+}
+
+src_install() {
+ default
+ doman doc/${PN}.1
+ doinfo doc/${PN}.info
+}