summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcady Genkin <agenkin@gentoo.org>2003-07-15 18:43:39 +0000
committerArcady Genkin <agenkin@gentoo.org>2003-07-15 18:43:39 +0000
commit72bd762d84ddd0bfd38c3b9a6f56b4404eb14ee1 (patch)
tree32192b0ed77326d2d69241f96eec4969cfd69d0b /app-arch/lha
parentebuild bugfix (diff)
downloadgentoo-2-72bd762d84ddd0bfd38c3b9a6f56b4404eb14ee1.tar.gz
gentoo-2-72bd762d84ddd0bfd38c3b9a6f56b4404eb14ee1.tar.bz2
gentoo-2-72bd762d84ddd0bfd38c3b9a6f56b4404eb14ee1.zip
Handle multy-byte chars in filenames.
Closes #11186.
Diffstat (limited to 'app-arch/lha')
-rw-r--r--app-arch/lha/ChangeLog8
-rw-r--r--app-arch/lha/files/digest-lha-114i-r11
-rw-r--r--app-arch/lha/lha-114i-r1.ebuild43
3 files changed, 51 insertions, 1 deletions
diff --git a/app-arch/lha/ChangeLog b/app-arch/lha/ChangeLog
index a6abb0e7d13c..b463c1bb33e8 100644
--- a/app-arch/lha/ChangeLog
+++ b/app-arch/lha/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-arch/lha
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/ChangeLog,v 1.6 2003/02/12 02:57:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/ChangeLog,v 1.7 2003/07/15 18:43:39 agenkin Exp $
+
+*lha-114i (15 Jul 2003)
+
+ 15 Jul 2003; Arcady Genkin <agenkin@gentoo.org> :
+ Update to handle multy-byte characters in the file names by
+ Matsuu Takuto <matsuu@gentoo.org> (bug #11186).
*lha-114i (24 May 2002)
diff --git a/app-arch/lha/files/digest-lha-114i-r1 b/app-arch/lha/files/digest-lha-114i-r1
new file mode 100644
index 000000000000..919a29131fb9
--- /dev/null
+++ b/app-arch/lha/files/digest-lha-114i-r1
@@ -0,0 +1 @@
+MD5 367f99d2978ac4d9268ec7733bc18121 lha-114i.autoconf-20020903.tar.gz 197831
diff --git a/app-arch/lha/lha-114i-r1.ebuild b/app-arch/lha/lha-114i-r1.ebuild
new file mode 100644
index 000000000000..9ee4391f3b4b
--- /dev/null
+++ b/app-arch/lha/lha-114i-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/lha-114i-r1.ebuild,v 1.1 2003/07/15 18:43:39 agenkin Exp $
+
+DESCRIPTION="Utility for creating and opening lzh archives."
+HOMEPAGE="http://sourceforge.jp/projects/lha/"
+LICENSE="lha"
+
+DEPEND="virtual/glibc"
+IUSE="nls"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+MY_P="${P}.autoconf"
+SRC_URI="http://downloads.sourceforge.jp/lha/1548/${MY_P}-20020903.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+
+ local myconf=""
+
+ use nls \
+ && myconf="${myconf} --enable-multibyte-filename=auto" \
+ || myconf="${myconf} --disable-multibyte-filename"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man/ja \
+ ${myconf} || die "./configure failed"
+
+ #make check || die "make check failed"
+
+ emake || die
+
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+ dodoc *.txt *.euc *.eng ChangeLog 00readme.autoconf
+
+}