diff options
author | Lars Weiler <pylon@gentoo.org> | 2003-06-28 23:32:22 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2003-06-28 23:32:22 +0000 |
commit | 6de1952a483d21c6e51e4a02e5967fd605c67785 (patch) | |
tree | 504ff54599e434ef055cd9f0a841426e4901cea3 /app-text/recode | |
parent | fixes bug #20141 (diff) | |
download | historical-6de1952a483d21c6e51e4a02e5967fd605c67785.tar.gz historical-6de1952a483d21c6e51e4a02e5967fd605c67785.tar.bz2 historical-6de1952a483d21c6e51e4a02e5967fd605c67785.zip |
fixes bug #20141
Diffstat (limited to 'app-text/recode')
-rw-r--r-- | app-text/recode/Manifest | 4 | ||||
-rw-r--r-- | app-text/recode/files/digest-recode-3.6-r1 | 2 | ||||
-rw-r--r-- | app-text/recode/recode-3.6-r1.ebuild | 59 |
3 files changed, 63 insertions, 2 deletions
diff --git a/app-text/recode/Manifest b/app-text/recode/Manifest index 15bbada2a812..31da6c210caf 100644 --- a/app-text/recode/Manifest +++ b/app-text/recode/Manifest @@ -1,7 +1,7 @@ -MD5 729f8746195b51088c9ab801c42d4acc ChangeLog 1705 +MD5 94c7e0090d3b7d5a12c7aaca0259daff ChangeLog 1703 MD5 6da38e4d3ea6c558a0c3337431db48ba recode-3.5.ebuild 967 MD5 9b857b4650f8dd58b024f5a94367a604 recode-3.6.ebuild 1174 -MD5 d5988a436d8868426303fba607bf425f recode-3.6-r1.ebuild 1280 +MD5 27635ab4fcef607df76d9bf2c5247494 recode-3.6-r1.ebuild 1281 MD5 9df596b08fd43d27c68ebb9801dc0cdd files/digest-recode-3.5 62 MD5 e442e84aa8cba1c847368c7fd1cefda1 files/digest-recode-3.6 63 MD5 6d0ba2283055f0ad0f91ff4dfd0acfd9 files/digest-recode-3.6-r1 133 diff --git a/app-text/recode/files/digest-recode-3.6-r1 b/app-text/recode/files/digest-recode-3.6-r1 new file mode 100644 index 000000000000..766f34f11c50 --- /dev/null +++ b/app-text/recode/files/digest-recode-3.6-r1 @@ -0,0 +1,2 @@ +MD5 be3f40ad2e93dae5cd5f628264bf1877 recode-3.6.tar.gz 1751886 +MD5 4a8b1f14f5d00454264cee3a9afd2152 recode-3.6-debian.diff.bz2 19327 diff --git a/app-text/recode/recode-3.6-r1.ebuild b/app-text/recode/recode-3.6-r1.ebuild new file mode 100644 index 000000000000..834c8b9dcd78 --- /dev/null +++ b/app-text/recode/recode-3.6-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6-r1.ebuild,v 1.1 2003/06/28 23:32:13 pylon Exp $ + +IUSE="nls" + +inherit flag-o-matic base + +replace-flags "-march=pentium4" "-march=pentium3" + +S=${WORKDIR}/${P} +DESCRIPTION="Convert files between various character sets." +SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz + mirror://gentoo/${P}-debian.diff.bz2" +HOMEPAGE="http://www.gnu.org/software/recode/" + +DEPEND="virtual/glibc + nls? ( sys-devel/gettext )" + + +KEYWORDS="~x86 ~sparc ppc" +SLOT="0" +LICENSE="GPL-2" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${WORKDIR}/${P}-debian.diff +} + +src_compile() { + + local myconf="" + use nls || myconf="--disable-nls" + + # gcc-3.2 crashes if we don't remove any -O? + if [ ! -z "`gcc --version | grep 3.2`" ] && [ ${ARCH} == "x86" ] ; then + CFLAGS=${CFLAGS/-O?/} + fi + ./configure --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + $myconf || die + + emake || die +} + +src_install() { + + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + + dodoc AUTHORS BACKLOG COPYING* ChangeLog INSTALL + dodoc NEWS README THANKS TODO +} + |