[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: e78b4427581ccee29e3ac2232f15dbabe20d27cd Author: Sam James gentoo org> AuthorDate: Tue Oct 18 02:24:50 2022 + Commit: Sam James gentoo org> CommitDate: Tue Oct 18 02:28:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78b4427 app-text/ocrad: add savannah-nongnu upstream metadata Signed-off-by: Sam James gentoo.org> app-text/ocrad/metadata.xml | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app-text/ocrad/metadata.xml b/app-text/ocrad/metadata.xml index 7dd28abde319..1e689d2596fc 100644 --- a/app-text/ocrad/metadata.xml +++ b/app-text/ocrad/metadata.xml @@ -1,9 +1,12 @@ https://www.gentoo.org/dtd/metadata.dtd;> - -GNU Ocrad is an OCR (Optical Character Recognition) + + GNU Ocrad is an OCR (Optical Character Recognition) program impleme nted as a filter and based on a feature extraction method. It reads a bitmap ima ge in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. + +ocrad +
[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: 873d874069600e85391fd46206665c70751f0beb Author: Sam James gentoo org> AuthorDate: Wed Dec 29 03:57:59 2021 + Commit: Sam James gentoo org> CommitDate: Wed Dec 29 03:57:59 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873d8740 app-text/ocrad: don't call AR directly Closes: https://bugs.gentoo.org/722474 Signed-off-by: Sam James gentoo.org> app-text/ocrad/ocrad-0.27.ebuild | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app-text/ocrad/ocrad-0.27.ebuild b/app-text/ocrad/ocrad-0.27.ebuild index d7001dd7c77e..be1acd75228b 100644 --- a/app-text/ocrad/ocrad-0.27.ebuild +++ b/app-text/ocrad/ocrad-0.27.ebuild @@ -13,9 +13,9 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86" -DEPEND="$(unpacker_src_uri_depends)" +BDEPEND="$(unpacker_src_uri_depends)" -DOCS="AUTHORS ChangeLog NEWS README" +DOCS=( AUTHORS ChangeLog NEWS README ) src_configure() { # ./configure is not based on autotools @@ -27,8 +27,13 @@ src_configure() { --prefix=/usr || die } +src_compile() { + emake AR="$(tc-getAR)" +} + src_install() { default + doman doc/${PN}.1 doinfo doc/${PN}.info }
[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: 0b25fc0bcc05dc1010b2cbdc0f3fe64eb1c69cb2 Author: Jonas Stein gentoo org> AuthorDate: Wed Dec 29 03:39:04 2021 + Commit: Jonas Stein gentoo org> CommitDate: Wed Dec 29 03:39:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b25fc0b app-text/ocrad: drop project tex Drop project tex from the list of maintainers. This package does not fit in the domain of Project TeX. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jonas Stein gentoo.org> app-text/ocrad/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-text/ocrad/metadata.xml b/app-text/ocrad/metadata.xml index 553d68b0ca07..7dd28abde319 100644 --- a/app-text/ocrad/metadata.xml +++ b/app-text/ocrad/metadata.xml @@ -1,10 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - t...@gentoo.org - Gentoo TeX Project - + GNU Ocrad is an OCR (Optical Character Recognition) program impleme nted as a filter and based on a feature extraction method. It reads a bitmap ima ge in pbm format and outputs text in
[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: f2d1c1dd5444fa5f6a39177e686d20cf5c9ebff7 Author: Sam James gentoo org> AuthorDate: Wed Jul 28 03:10:46 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jul 28 03:10:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d1c1dd app-text/ocrad: Stabilize 0.27 ppc64, #804765 Signed-off-by: Sam James gentoo.org> app-text/ocrad/ocrad-0.27.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-text/ocrad/ocrad-0.27.ebuild b/app-text/ocrad/ocrad-0.27.ebuild index 06817cb884e..c47145c8d4d 100644 --- a/app-text/ocrad/ocrad-0.27.ebuild +++ b/app-text/ocrad/ocrad-0.27.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.lz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ppc ppc64 ~sparc ~x86" DEPEND="$(unpacker_src_uri_depends)"
[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: c4ad3452b3569e60039ff0392c17f8f166fb6857 Author: Sam James gentoo org> AuthorDate: Wed Jul 28 03:09:46 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jul 28 03:09:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ad3452 app-text/ocrad: Stabilize 0.27 ppc, #804765 Signed-off-by: Sam James gentoo.org> app-text/ocrad/ocrad-0.27.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-text/ocrad/ocrad-0.27.ebuild b/app-text/ocrad/ocrad-0.27.ebuild index 2dba77c125e..06817cb884e 100644 --- a/app-text/ocrad/ocrad-0.27.ebuild +++ b/app-text/ocrad/ocrad-0.27.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.lz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ppc ~ppc64 ~sparc ~x86" DEPEND="$(unpacker_src_uri_depends)"
[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: 7b06328ed2acd1da07c6987dd5e5f6f0c99e19a8 Author: Mikle Kolyada gentoo org> AuthorDate: Wed Jan 1 19:18:16 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Jan 1 19:18:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b06328e app-text/ocrad: Drop old Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> app-text/ocrad/Manifest | 4 app-text/ocrad/ocrad-0.22.ebuild | 35 --- app-text/ocrad/ocrad-0.23.ebuild | 35 --- app-text/ocrad/ocrad-0.24.ebuild | 35 --- app-text/ocrad/ocrad-0.25.ebuild | 35 --- 5 files changed, 144 deletions(-) diff --git a/app-text/ocrad/Manifest b/app-text/ocrad/Manifest index 5e7e0ef62f4..86555c36086 100644 --- a/app-text/ocrad/Manifest +++ b/app-text/ocrad/Manifest @@ -1,6 +1,2 @@ -DIST ocrad-0.22.tar.lz 87698 BLAKE2B 90bc7a5fb94476819501a2026e4b55c0d8631acf40926c2840e614066786078235edbd44d6bc47877cf106244bcb90b0291c2fb45a34f7d3a99ca676271e5df7 SHA512 45c7934776d96b6868a0109bf40b6814503c03bf63cb797e6a727599aa79e700a253b4eb3ec8ec8ec7abc3417601dacafc7560b147395171348cdae1b6951254 -DIST ocrad-0.23.tar.lz 87385 BLAKE2B 9f6ece19f815e1e6011aef5c2c90f1772bdc9621586744ddb9c7fde16762ccba42ca887792a9958c3a7ff1d43f8cbab985a2196de1f1a7ada01ad79d30f308b1 SHA512 db3c282dd121b5138d7e0e8d52fe88a3d392aa5ba2a5b821c74a84b1f66f0bfb8f3b9f08a276b6814c6bb6c31b1a51f5bcaf0c6e66e1a4d659ea72f60b383d13 -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.22.ebuild b/app-text/ocrad/ocrad-0.22.ebuild deleted file mode 100644 index 28963503086..000 --- a/app-text/ocrad/ocrad-0.22.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -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-3" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ~ppc64 sparc x86" -IUSE="" - -RDEPEND="" -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 -} - -src_install() { - default - doman doc/${PN}.1 - doinfo doc/${PN}.info -} diff --git a/app-text/ocrad/ocrad-0.23.ebuild b/app-text/ocrad/ocrad-0.23.ebuild deleted file mode 100644 index 2f4bea7172d..000 --- a/app-text/ocrad/ocrad-0.23.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -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-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -RDEPEND="" -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 -} - -src_install() { - default - doman doc/${PN}.1 - doinfo doc/${PN}.info -}
[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: 4f96242f8d5db20bb04e7835809215355cc4fb7e Author: Mikle Kolyada gentoo org> AuthorDate: Wed Jan 1 19:17:27 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Jan 1 19:17:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f96242f app-text/ocrad: mark stable Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> app-text/ocrad/ocrad-0.26.ebuild | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app-text/ocrad/ocrad-0.26.ebuild b/app-text/ocrad/ocrad-0.26.ebuild index 1dc0d004540..a17dd6ef873 100644 --- a/app-text/ocrad/ocrad-0.26.ebuild +++ b/app-text/ocrad/ocrad-0.26.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 + inherit unpacker toolchain-funcs DESCRIPTION="GNU Ocrad is an OCR (Optical Character Recognition) program" @@ -10,10 +11,8 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.lz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" +KEYWORDS="alpha amd64 ppc ppc64 ~sparc x86" -RDEPEND="" DEPEND="$(unpacker_src_uri_depends)" DOCS="AUTHORS ChangeLog NEWS README" @@ -25,7 +24,7 @@ src_configure() { CXX="$(tc-getCXX)" \ CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" \ - --prefix=/usr + --prefix=/usr || die } src_install() {
[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: 5da823f0d2502cedded15bbfe42dbdfa217359d9 Author: Mikle Kolyada gentoo org> AuthorDate: Wed Jan 1 19:15:37 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Jan 1 19:15:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da823f0 app-text/ocrad: Version bump (v0.27) Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> app-text/ocrad/Manifest | 1 + app-text/ocrad/ocrad-0.27.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/app-text/ocrad/Manifest b/app-text/ocrad/Manifest index 703b3913a3c..5e7e0ef62f4 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 000..2dba77c125e --- /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 +}
[gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/
commit: dc300285e7d04a581db084f6747b8c5835caf3b8 Author: Alexis Ballier gentoo org> AuthorDate: Sun Apr 23 11:58:27 2017 + Commit: Alexis Ballier gentoo org> CommitDate: Sun Apr 23 12:36:19 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc300285 app-text/ocrad: bump to 0.26 Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-text/ocrad/Manifest | 1 + app-text/ocrad/ocrad-0.26.ebuild | 35 +++ 2 files changed, 36 insertions(+) diff --git a/app-text/ocrad/Manifest b/app-text/ocrad/Manifest index 21f96626093..b14e0828e02 100644 --- a/app-text/ocrad/Manifest +++ b/app-text/ocrad/Manifest @@ -2,3 +2,4 @@ DIST ocrad-0.22.tar.lz 87698 SHA256 d6c9dcbcf4c9cc643edfe5a03cb6125d6c39abe59e83 DIST ocrad-0.23.tar.lz 87385 SHA256 f5bc9479c01fe8c64aa836c8636dff65e9b459c2edbd4fc0656f47f435d9a06f SHA512 db3c282dd121b5138d7e0e8d52fe88a3d392aa5ba2a5b821c74a84b1f66f0bfb8f3b9f08a276b6814c6bb6c31b1a51f5bcaf0c6e66e1a4d659ea72f60b383d13 WHIRLPOOL 4fdf1b8d8061fc116295b8984465b5cea0be1406b0a76bff7b779ba8e3ee4dba07c6dc7345a36fc0fbc523013a721d8baf136d19f7e429144d282039248ba9d5 DIST ocrad-0.24.tar.lz 84506 SHA256 9beaede0a0ba8ac39c5fb78aef2ed31313ac7f2cd20215718a0b80260ee81442 SHA512 c43cb4dc678e9588e7061af6ea83a0514181e56201fe5ab68b50b8a1c8e1ae7c7fbf959cdf172b7200b89d9e6b1f42261ead4fbf3a6d0123860feff7954e532d WHIRLPOOL dffc5c39e71901205c890bd78e186128295874344f1e989dab784cd623b553b0a42cc2faf3e778d45816a482158d938c13cb478a95c292960848c5a338c49aa3 DIST ocrad-0.25.tar.lz 91464 SHA256 e710be9c030fbcbce2315077326c8268feb422c0bc39fa744644cbbd1f5d4dd4 SHA512 48a0753d699af909d4d0295005e12ec626dad8772a5212c0d579df3b24cf01f6e457ec61edc708a0f6eebace75f37ce0544e8b19c11c9a25166aafedc92c258f WHIRLPOOL a4c7a8a84270d33f2722d86464e138cc0454ca2b055e7d0416dacf402c3ab998d8daa6f32ab80ac57f9ae2c832737eeede4f8fcc660ffcbf64f063e0e3085bf0 +DIST ocrad-0.26.tar.lz 91450 SHA256 c383d37869baa0990d38d38836d4d567e9e2862aa0cd704868b62dafeac18e3c SHA512 6cf4c97c4dbbc3a623192de2da261e4854dc3082a26d9731fd00feb8ed371cb18d41f5a8ed992f98e2a00aed68d60f1f3aa90b05f8472431fcf5bc5e3d10e70c WHIRLPOOL 6fbb55eb6ac006d46019f0903e6db35a4f038e7b0436a3c7933d87afe8081d2f591d00865bebf0d42ffb8c1948cae722c0bc3df389e021db2eb659391c3d111c diff --git a/app-text/ocrad/ocrad-0.26.ebuild b/app-text/ocrad/ocrad-0.26.ebuild new file mode 100644 index 000..1dc0d004540 --- /dev/null +++ b/app-text/ocrad/ocrad-0.26.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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" +IUSE="" + +RDEPEND="" +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 +} + +src_install() { + default + doman doc/${PN}.1 + doinfo doc/${PN}.info +}