diff options
Diffstat (limited to 'app-arch/lha/lha-114i-r3.ebuild')
-rw-r--r-- | app-arch/lha/lha-114i-r3.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-arch/lha/lha-114i-r3.ebuild b/app-arch/lha/lha-114i-r3.ebuild new file mode 100644 index 000000000000..6b76e8f68c65 --- /dev/null +++ b/app-arch/lha/lha-114i-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/lha-114i-r3.ebuild,v 1.1 2004/05/19 17:20:41 usata Exp $ + +inherit eutils + +IUSE="" + +DESCRIPTION="Utility for creating and opening lzh archives." +HOMEPAGE="http://www2m.biglobe.ne.jp/~dolphin/lha/lha-unix.htm" +SRC_URI="http://www2m.biglobe.ne.jp/~dolphin/lha/prog/${P}.tar.gz" + +SLOT="0" +LICENSE="lha" +KEYWORDS="x86 ppc sparc alpha amd64" + +DEPEND="virtual/glibc" + +src_unpack () { + unpack ${A} ; cd ${S} + sed -i -e "/^OPTIMIZE/ s:-O2:${CFLAGS}:" Makefile + cd src + epatch ${FILESDIR}/${P}.diff + epatch ${FILESDIR}/${P}-lhext.diff +} + +src_compile() { + emake || die +} + +src_install() { + dodir /usr/bin + dodir /usr/share/man/ja/man1 + make \ + BINDIR=${D}/usr/bin \ + MANDIR=${D}/usr/share/man/ja \ + install MANSECT=1 || die + + dodoc *.txt *.euc *.eng +} |