summaryrefslogtreecommitdiff
blob: 5bf72dc7736a655fb951e972a327990b7d19420c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}