summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-05 03:51:08 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-05 03:51:08 +0000
commit1e57dd07365731c691cf3c1331090fcfbc1f598f (patch)
tree2668a8191c16c9b9609c46be98ce21499911a946 /app-arch/sharutils/sharutils-4.2.1-r11.ebuild
parentNew version: 14.48. Added 18.47 to x86. (diff)
downloadgentoo-2-1e57dd07365731c691cf3c1331090fcfbc1f598f.tar.gz
gentoo-2-1e57dd07365731c691cf3c1331090fcfbc1f598f.tar.bz2
gentoo-2-1e57dd07365731c691cf3c1331090fcfbc1f598f.zip
Version bump to fix tempfile bugs #87939.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-arch/sharutils/sharutils-4.2.1-r11.ebuild')
-rw-r--r--app-arch/sharutils/sharutils-4.2.1-r11.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/app-arch/sharutils/sharutils-4.2.1-r11.ebuild b/app-arch/sharutils/sharutils-4.2.1-r11.ebuild
new file mode 100644
index 000000000000..34bb58c9de9f
--- /dev/null
+++ b/app-arch/sharutils/sharutils-4.2.1-r11.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.2.1-r11.ebuild,v 1.1 2005/04/05 03:51:08 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Tools to deal with shar archives"
+HOMEPAGE="http://www.gnu.org/software/sharutils/"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="nls"
+
+DEPEND="sys-apps/texinfo
+ nls? ( >=sys-devel/gettext-0.10.35 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ epatch "${FILESDIR}"/${P}-buffer-check.patch #46998
+ epatch "${FILESDIR}"/${P}-buffer-limits.patch #65773
+ epatch "${FILESDIR}"/${P}-tempfile.patch #87939
+
+ cd "${S}"/po
+ cp ja_JP.EUC.po ja.po
+ cp ja_JP.EUC.gmo ja.gmo
+ sed -i \
+ -e 's/aangemaakt/aangemaakt\\n/' \
+ nl.po || die "sed nl.po failed"
+ sed -i \
+ -e 's/de %dk/de %dk\\n/' \
+ pt.po || die "sed pt.po failed"
+}
+
+src_compile() {
+ econf $(use_enable nls) || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ local x=
+
+ einstall \
+ localedir=${D}/usr/share/locale \
+ || die
+
+ doman doc/*.[15]
+ # Remove some strange locales
+ cd ${D}/usr/share/locale
+ for x in *.
+ do
+ rm -rf ${x}
+ done
+ rm -rf ${D}/usr/lib
+
+ cd ${S}
+ dodoc AUTHORS BACKLOG ChangeLog ChangeLog.OLD \
+ NEWS README README.OLD THANKS TODO
+}