summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-25 03:12:54 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-25 03:12:54 +0000
commita8449590f343cf26527998301a1ee24fd9d19e89 (patch)
treea1018ceb9e6a3551cd3ee7597e4548114eb94d20 /app-text/recode/recode-3.6-r2.ebuild
parentoops, removed - (diff)
downloadhistorical-a8449590f343cf26527998301a1ee24fd9d19e89.tar.gz
historical-a8449590f343cf26527998301a1ee24fd9d19e89.tar.bz2
historical-a8449590f343cf26527998301a1ee24fd9d19e89.zip
Grab latest Debian patchset to fix some bugs in recode (like #107089).
Package-Manager: portage-2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/
Diffstat (limited to 'app-text/recode/recode-3.6-r2.ebuild')
-rw-r--r--app-text/recode/recode-3.6-r2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-text/recode/recode-3.6-r2.ebuild b/app-text/recode/recode-3.6-r2.ebuild
new file mode 100644
index 000000000000..5c43d0620aa3
--- /dev/null
+++ b/app-text/recode/recode-3.6-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6-r2.ebuild,v 1.1 2005/09/25 03:12:54 vapier Exp $
+
+inherit flag-o-matic eutils libtool
+
+DEB_VER=11
+DESCRIPTION="Convert files between various character sets"
+HOMEPAGE="http://www.gnu.org/software/recode/"
+SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz
+ mirror://debian/pool/main/r/recode/recode_${PV}-${DEB_VER}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE="nls"
+
+DEPEND="nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}"/recode_${PV}-${DEB_VER}.diff
+
+ if use ppc-macos; then
+ epatch "${FILESDIR}"/${P}-ppc-macos.diff
+ cp lib/error.c lib/xstrdup.c src/ || die "file copy failed"
+ elibtoolize
+ append-ldflags -lgettextlib
+ fi
+}
+
+src_compile() {
+ econf $(use_enable nls) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS BACKLOG ChangeLog NEWS README THANKS TODO
+ rm -f "${D}"/usr/lib/charset.alias
+}