summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2018-07-02 00:54:58 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2018-07-02 00:55:41 -0700
commitf8df6a8eaba29f8302c53ee9fcce29d797b36273 (patch)
tree56ff61a1e53b7a0b2abe8152e669b0e84cdad2d6 /app-shells
parentapp-shells/zsh: Security cleanup. (diff)
downloadgentoo-f8df6a8eaba29f8302c53ee9fcce29d797b36273.tar.gz
gentoo-f8df6a8eaba29f8302c53ee9fcce29d797b36273.tar.bz2
gentoo-f8df6a8eaba29f8302c53ee9fcce29d797b36273.zip
app-shells/loksh: new package, openbsd's ksh
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/loksh/Manifest1
-rw-r--r--app-shells/loksh/loksh-6.3.ebuild31
-rw-r--r--app-shells/loksh/metadata.xml14
3 files changed, 46 insertions, 0 deletions
diff --git a/app-shells/loksh/Manifest b/app-shells/loksh/Manifest
new file mode 100644
index 000000000000..a1d2630d7b27
--- /dev/null
+++ b/app-shells/loksh/Manifest
@@ -0,0 +1 @@
+DIST 6.3.tar.gz 249493 BLAKE2B 1790b3c272d0ab3f0129ee199c46905850f87a9fc0815833d005ebedde53605701a8820e4ff40761e5742d4e4cac8969c9a4d7004a8fd995e6a4585f352790d7 SHA512 414d25c10096485bd1bb6574d0f91526f452ee0102924398aff0b1451128e5bf3d5d7344bcc746f574ad1acdefd39a92ee59d0b86b05f0c149418302c4d2d3fb
diff --git a/app-shells/loksh/loksh-6.3.ebuild b/app-shells/loksh/loksh-6.3.ebuild
new file mode 100644
index 000000000000..5bf72dc7736a
--- /dev/null
+++ b/app-shells/loksh/loksh-6.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Linux port of OpenBSD's ksh"
+HOMEPAGE="https://github.com/dimkr/loksh"
+SRC_URI="https://github.com/dimkr/${PN}/archive/${PV}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="!app-shells/ksh"
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_install() {
+ emake \
+ BIN_DIR="${EROOT}/bin" \
+ DESTDIR="${D}" \
+ DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" \
+ install
+
+ dodoc NOTES
+}
diff --git a/app-shells/loksh/metadata.xml b/app-shells/loksh/metadata.xml
new file mode 100644
index 000000000000..8f520c48ee8d
--- /dev/null
+++ b/app-shells/loksh/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+ <longdescription lang="en">
+ Small, interactive shell targeted at resource-constrained systems.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">dimkr/loksh</remote-id>
+ </upstream>
+</pkgmetadata>