Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/loksh/
Date: Mon, 02 Jul 2018 07:56:15
Message-Id: 1530518141.f8df6a8eaba29f8302c53ee9fcce29d797b36273.gyakovlev@gentoo
1 commit: f8df6a8eaba29f8302c53ee9fcce29d797b36273
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 2 07:54:58 2018 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 2 07:55:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8df6a8e
7
8 app-shells/loksh: new package, openbsd's ksh
9
10 Package-Manager: Portage-2.3.41, Repoman-2.3.9
11
12 app-shells/loksh/Manifest | 1 +
13 app-shells/loksh/loksh-6.3.ebuild | 31 +++++++++++++++++++++++++++++++
14 app-shells/loksh/metadata.xml | 14 ++++++++++++++
15 3 files changed, 46 insertions(+)
16
17 diff --git a/app-shells/loksh/Manifest b/app-shells/loksh/Manifest
18 new file mode 100644
19 index 00000000000..a1d2630d7b2
20 --- /dev/null
21 +++ b/app-shells/loksh/Manifest
22 @@ -0,0 +1 @@
23 +DIST 6.3.tar.gz 249493 BLAKE2B 1790b3c272d0ab3f0129ee199c46905850f87a9fc0815833d005ebedde53605701a8820e4ff40761e5742d4e4cac8969c9a4d7004a8fd995e6a4585f352790d7 SHA512 414d25c10096485bd1bb6574d0f91526f452ee0102924398aff0b1451128e5bf3d5d7344bcc746f574ad1acdefd39a92ee59d0b86b05f0c149418302c4d2d3fb
24
25 diff --git a/app-shells/loksh/loksh-6.3.ebuild b/app-shells/loksh/loksh-6.3.ebuild
26 new file mode 100644
27 index 00000000000..5bf72dc7736
28 --- /dev/null
29 +++ b/app-shells/loksh/loksh-6.3.ebuild
30 @@ -0,0 +1,31 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit toolchain-funcs
37 +
38 +DESCRIPTION="Linux port of OpenBSD's ksh"
39 +HOMEPAGE="https://github.com/dimkr/loksh"
40 +SRC_URI="https://github.com/dimkr/${PN}/archive/${PV}.tar.gz"
41 +
42 +LICENSE="public-domain"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +
46 +RDEPEND="!app-shells/ksh"
47 +
48 +src_prepare() {
49 + default
50 + tc-export CC
51 +}
52 +
53 +src_install() {
54 + emake \
55 + BIN_DIR="${EROOT}/bin" \
56 + DESTDIR="${D}" \
57 + DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" \
58 + install
59 +
60 + dodoc NOTES
61 +}
62
63 diff --git a/app-shells/loksh/metadata.xml b/app-shells/loksh/metadata.xml
64 new file mode 100644
65 index 00000000000..8f520c48ee8
66 --- /dev/null
67 +++ b/app-shells/loksh/metadata.xml
68 @@ -0,0 +1,14 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
71 +<pkgmetadata>
72 + <maintainer type="person">
73 + <email>gyakovlev@g.o</email>
74 + <name>Georgy Yakovlev</name>
75 + </maintainer>
76 + <longdescription lang="en">
77 + Small, interactive shell targeted at resource-constrained systems.
78 + </longdescription>
79 + <upstream>
80 + <remote-id type="github">dimkr/loksh</remote-id>
81 + </upstream>
82 +</pkgmetadata>