summaryrefslogtreecommitdiff
path: root/app-misc/sl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/sl
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/sl')
-rw-r--r--app-misc/sl/Manifest3
-rw-r--r--app-misc/sl/metadata.xml17
-rw-r--r--app-misc/sl/sl-5.02.ebuild39
3 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/sl/Manifest b/app-misc/sl/Manifest
new file mode 100644
index 000000000000..cbc10616fe49
--- /dev/null
+++ b/app-misc/sl/Manifest
@@ -0,0 +1,3 @@
+DIST sl-5.02.tar.gz 5353 BLAKE2B dd8513bf22cf209fe69e28b4f3de5b11db6cdb8afe375fd32ef40c7b21b2ec39dbf2d71a260c13fd440219fb1209957beb1026d065628af45f6f2ebd0437956e SHA512 a4d18bc79d7e0eca7748b10226a6b2a85a7a01d636e4e9215bf524a7849bc5cb250034326e5a69f7423d79e40b92182fddc0e56e25df616edae06369c782cb26
+EBUILD sl-5.02.ebuild 877 BLAKE2B ccf1acc3170f6c46f76bdd10f2e10c618d453b099ba43fc18225373b1e47be9c73d5416fef9c481b892cf653356dc36d084a2de7b300e958cc0c472ac9b7bf62 SHA512 f3866e623999c20a2d160a6b14c43c36d0a835370fc25a14cc8c2e6dc312091dff9bfec2f0e49880e338b361de92b15b461a74a1b3964f6bc214647a7705996f
+MISC metadata.xml 607 BLAKE2B 340be599aa5fc6dbf2f9848c0514b15dde7fa7daf94006c97b39fa693002157472b6b653fc40de67bd8e6fe0f1c2798769790f5a7ebaccff63e4035b7a8255eb SHA512 7f3cdb880453bbea4ae1cc7932e640331ec88693dfac15ab059e6579648834a958e20e8d1396c1beab386247c95724abad199ec7cd607e5fd66c4fd519bb4a5c
diff --git a/app-misc/sl/metadata.xml b/app-misc/sl/metadata.xml
new file mode 100644
index 000000000000..e68cdace86bd
--- /dev/null
+++ b/app-misc/sl/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">mtoyoda/sl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/sl/sl-5.02.ebuild b/app-misc/sl/sl-5.02.ebuild
new file mode 100644
index 000000000000..223474eab81f
--- /dev/null
+++ b/app-misc/sl/sl-5.02.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="sophisticated graphical program which corrects your miss typing"
+HOMEPAGE="http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html https://github.com/mtoyoda/sl/"
+SRC_URI="https://github.com/mtoyoda/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Toyoda"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="l10n_ja"
+
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+
+src_prepare() {
+ default
+ sed \
+ -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
+ -i Makefile || die
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+
+ if use l10n_ja; then
+ newman "${PN}.1.ja" "${PN}.ja.1"
+ DOCS+=( README.ja.md )
+ fi
+
+ einstalldocs
+}