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 | |
parent | New ebuild (diff) | |
download | historical-1133a3d0d61ac0efc4895ebde707ec4db851edb9.tar.gz historical-1133a3d0d61ac0efc4895ebde707ec4db851edb9.tar.bz2 historical-1133a3d0d61ac0efc4895ebde707ec4db851edb9.zip |
New ebuild
Diffstat (limited to 'app-misc/sl')
-rw-r--r-- | app-misc/sl/Manifest | 4 | ||||
-rw-r--r-- | app-misc/sl/files/digest-sl-3.03 | 3 | ||||
-rw-r--r-- | app-misc/sl/files/sl-3.03-gentoo.diff | 10 | ||||
-rw-r--r-- | app-misc/sl/metadata.xml | 15 | ||||
-rw-r--r-- | app-misc/sl/sl-3.03.ebuild | 56 |
5 files changed, 87 insertions, 1 deletions
diff --git a/app-misc/sl/Manifest b/app-misc/sl/Manifest index 4a4c61b490f5..a7ccc0200a0b 100644 --- a/app-misc/sl/Manifest +++ b/app-misc/sl/Manifest @@ -1,3 +1,5 @@ -MD5 6b195968160be4ae469df05f73a99e59 sl-3.03.ebuild 1241 +MD5 fcd9634736bafacf2f0c33b9b3ffd3a5 sl-3.03.ebuild 1229 +MD5 74259585a678d98216dab4cf4c51a2d0 metadata.xml 553 +MD5 979d8df6634c6f712b2631422e6f3b43 ChangeLog 533 MD5 e57bae202fffa96c41007326fa247bd4 files/sl-3.03-gentoo.diff 308 MD5 e1ecca925d644c200353c3c5e8929ce6 files/digest-sl-3.03 157 diff --git a/app-misc/sl/files/digest-sl-3.03 b/app-misc/sl/files/digest-sl-3.03 new file mode 100644 index 000000000000..1aa4eb6e479e --- /dev/null +++ b/app-misc/sl/files/digest-sl-3.03 @@ -0,0 +1,3 @@ +MD5 cc06b159f78f86bfd2d4e0e16330fbae sl.tar 20480 +MD5 97a346188edb4d048021a1e1699fee77 sl5-1.patch 36035 +MD5 2f94e78c94fd7d588d5d177f5b159cf1 sl.en.1.gz 445 diff --git a/app-misc/sl/files/sl-3.03-gentoo.diff b/app-misc/sl/files/sl-3.03-gentoo.diff new file mode 100644 index 000000000000..e6350ca5b37e --- /dev/null +++ b/app-misc/sl/files/sl-3.03-gentoo.diff @@ -0,0 +1,10 @@ +--- sl.c.orig 2003-09-07 14:20:29.000000000 +0900 ++++ sl.c 2003-09-07 14:21:11.000000000 +0900 +@@ -164,6 +164,7 @@ + signal(SIGINT, end_proc); + #else ++ signal(SIGTSTP, SIG_IGN); + signal(SIGINT, SIG_IGN); + PASSNUM = (int)(drand48() * 20.0) + 10; + if (drand48() > 0.5) { + ONEDIREC = 1; diff --git a/app-misc/sl/metadata.xml b/app-misc/sl/metadata.xml new file mode 100644 index 000000000000..f2f48a541d4b --- /dev/null +++ b/app-misc/sl/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>usata@gentoo.org</email> + <name>Mamoru KOMACHI</name> +</maintainer> +<longdescription> +SL is an extremely sophisticated type remediation program at which you +will be astonished. The original program has experienced gradual +modifications and enhancements so that one can never think of better +software than SL. Feel free to send me a patch to improve the +software ;-) +</longdescription> +</pkgmetadata> 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 +} |