commit:     9c343e06432ce0b604e94ce635c0f52bb8ced776
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  3 20:17:56 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Aug  3 20:18:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c343e06

app-text/recode: version bump.

Gentoo-Bug: https://bugs.gentoo.org/503358

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-text/recode/Manifest                      |  1 +
 app-text/recode/recode-3.7_pre20140303.ebuild | 42 +++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/app-text/recode/Manifest b/app-text/recode/Manifest
index c045d7c18db..cbb6d515936 100644
--- a/app-text/recode/Manifest
+++ b/app-text/recode/Manifest
@@ -1,2 +1,3 @@
 DIST recode-3.6.tar.gz 1751886 SHA256 
e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf SHA512 
68de277ac8cd5f6023bb077b959ab5778a78edac1299d507bab906824080b6f86e9bfcd89169aa474197c2faa9af2ceb1ed272c8dd4d50caef373afa05daed1b
 WHIRLPOOL 
08eef3eea75d1898800d9f18eec95f50706b4e75285ce22e71723069f7e2a07ee762693c8366e5139add65b319276ced71b6f046884c1e75eb89a3922b7f3dab
+DIST recode-3.7_pre20140303.zip 1902903 SHA256 
baba145f8c8aa7ba223419dadc942f2182450925283c1067fa16f87b3a9b3857 SHA512 
256d79d6f9de18bbf53cb322f0467411ef2ff8e4f242d073d7302fbd05e4942373023514d0a88e33701280c1cb4e0235d76efb9220729cd1f91f9ad8fd2407de
 WHIRLPOOL 
19290f675cacc30ee51f198d765d27af9d03d7a6e0f048b1f14b812f7cf11533a542dbd1bc13c61037ae327a5b5693e07a5bd9b1aa3d244266f2f658ca378dfd
 DIST recode_3.6-20.debian.tar.gz 341117 SHA256 
ec0e25d91a8d5e4a61e8e2876c338ae6c1ba89018f02ff1ee4eb01cb7c44e7ee SHA512 
bc586534e77b49da7d387187a8ddb042a12871f87f4f32c818ce7218b7254ac5ba6eccb14aaaf0312579f27958883f2da620016a7049c3af24c8bfba81acc3ef
 WHIRLPOOL 
72f00b3d6732b8794456795d847dbb2114c2577b8d5c9683c8fcb41d3bd92548322dc9d73d38af3a4811fb531d9482d1a5d37ee6600cf281bed4ceb6e794b058

diff --git a/app-text/recode/recode-3.7_pre20140303.ebuild 
b/app-text/recode/recode-3.7_pre20140303.ebuild
new file mode 100644
index 00000000000..f155462078f
--- /dev/null
+++ b/app-text/recode/recode-3.7_pre20140303.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic libtool toolchain-funcs
+
+DESCRIPTION="Convert files between various character sets"
+HOMEPAGE="http://recode.progiciels-bpi.ca/";
+REV="2d7092a9999194fc0e9449717a8048c8d8e26c18"
+SRC_URI="https://github.com/pinard/Recode/archive/${REV}.zip -> ${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="nls static-libs"
+
+DEPEND="
+       sys-devel/flex
+       nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/Recode-${REV}"
+
+# tests fail.
+RESTRICT="test"
+
+src_configure() {
+       tc-export CC LD
+       # on solaris -lintl is needed to compile
+       [[ ${CHOST} == *-solaris* ]] && append-libs "-lintl"
+       # --without-included-gettext means we always use system headers
+       # and library
+       econf \
+               $(use_enable nls) \
+               $(use_enable static-libs static)
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -exec rm -f {} + || die
+       rm -f "${ED}"/usr/lib/charset.alias || die
+}

Reply via email to