forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <[email protected]>
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST loksh-6.4.tar.gz 250475 BLAKE2B 061538766834038677019ca8f1ccd16c77245855f0d666ec5af78fc24995e74b22637ccb29d92d6c436c377d21c1a9449dcb79568ab5ccf7f141e8f0b6040d99 SHA512 74cce1428346820331fb8bce8acf275077b05a3c46081bce5c35e8e0d47704446bb93ce3e457dbf2e379d5d9656844b78c736b1190b2fe39ee92717863adb86c | ||
DIST loksh-6.5.tar.gz 251099 BLAKE2B bca8bcb7b6a9bf2e31f45af190705e15a36ddd3e70aa24c20dd7eccf867ee7847511d322ea3ffa3f84480346931b0d3fcb21e6ea659656a71cbdd718888f3089 SHA512 35eb7d8bc8e01787034981c6f8d3733419065548efc21c6d6dcafe4cbe1912ef8c1fe911f1ae9955900bfeb363604230470280944f6eae0628def711bb6f8d93 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# 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 -> ${P}.tar.gz" | ||
|
||
LICENSE="public-domain" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~x86" | ||
|
||
DEPEND="sys-libs/ncurses:0=" | ||
BDEPEND="virtual/pkgconfig" | ||
RDEPEND="${DEPEND} | ||
!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 | ||
} |