diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-09-07 15:22:54 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-09-07 15:22:54 +0000 |
commit | 1133a3d0d61ac0efc4895ebde707ec4db851edb9 (patch) | |
tree | ecac20b72829318d03055f8d77b390c339be54c6 /app-misc/sl/sl-3.03.ebuild | |
parent | New ebuild (diff) | |
download | historical-1133a3d0d61ac0efc4895ebde707ec4db851edb9.tar.gz historical-1133a3d0d61ac0efc4895ebde707ec4db851edb9.tar.bz2 historical-1133a3d0d61ac0efc4895ebde707ec4db851edb9.zip |
New ebuild
Diffstat (limited to 'app-misc/sl/sl-3.03.ebuild')
-rw-r--r-- | app-misc/sl/sl-3.03.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-misc/sl/sl-3.03.ebuild b/app-misc/sl/sl-3.03.ebuild new file mode 100644 index 000000000000..637247f72ecb --- /dev/null +++ b/app-misc/sl/sl-3.03.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/sl/sl-3.03.ebuild,v 1.1 2003/09/07 15:22:48 usata Exp $ + +inherit eutils + +IUSE="cjk" + +SL_PATCH="sl5-1.patch" + +DESCRIPTION="SL is a sophisticated graphical program which corrects your miss typing" +HOMEPAGE="http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/ + http://www.linet.gr.jp/~izumi/sl/" +SRC_URI="http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/sl/${PN}.tar + http://www.linet.gr.jp/~izumi/sl/${SL_PATCH} + http://www.sodan.ecc.u-tokyo.ac.jp/~okayama/sl/${PN}.en.1.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~x86 ~alpha ~sparc" + +DEPEND="virtual/glibc + sys-libs/ncurses + cjk? ( app-i18n/nkf )" +RDEPEND="virtual/glibc + sys-libs/ncurses" + +S=${WORKDIR}/${PN} + +src_unpack() { + + unpack ${PN}.tar + cd ${S} + epatch ${DISTDIR}/${SL_PATCH} + epatch ${FILESDIR}/${P}-gentoo.diff + unpack ${PN}.en.1.gz +} + +src_compile() { + + emake CFLAGS="${CFLAGS}" LDFLAGS="-lncurses" || die + if [ -n "`use cjk`" ]; then + nkf -e sl.1 > sl.ja.1 + fi +} + +src_install() { + + dobin sl + newman sl.en.1 sl.1 + dodoc README* sl.txt + if [ -n "`use cjk`" ] ; then + insinto /usr/share/man/ja/man1 + newins sl.ja.1 sl.1 + fi +} |