summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-08-03 22:17:56 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-08-03 22:18:05 +0200
commit9c343e06432ce0b604e94ce635c0f52bb8ced776 (patch)
treea0cf4777818d5b33eb693928f2b331ff9b6e7433 /app-text/recode/recode-3.7_pre20140303.ebuild
parentapp-vim/vim-tmux: keyword for a bunch of arches. (diff)
downloadgentoo-9c343e06432ce0b604e94ce635c0f52bb8ced776.tar.gz
gentoo-9c343e06432ce0b604e94ce635c0f52bb8ced776.tar.bz2
gentoo-9c343e06432ce0b604e94ce635c0f52bb8ced776.zip
app-text/recode: version bump.
Gentoo-Bug: https://bugs.gentoo.org/503358 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-text/recode/recode-3.7_pre20140303.ebuild')
-rw-r--r--app-text/recode/recode-3.7_pre20140303.ebuild42
1 files changed, 42 insertions, 0 deletions
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
+}