Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/mksh/
Date: Mon, 29 Apr 2019 13:48:15
Message-Id: 1556545267.fc31e6c74853c2efcd4774381508ea785bc80c1c.mgorny@gentoo
1 commit: fc31e6c74853c2efcd4774381508ea785bc80c1c
2 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
3 AuthorDate: Sun Mar 17 10:28:36 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 29 13:41:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc31e6c7
7
8 app-shells/mksh: Bump 57 from the live ebuild instead
9
10 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
11 Closes: https://github.com/gentoo/gentoo/pull/11441
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13
14 app-shells/mksh/mksh-57-r1.ebuild | 52 +++++++++++++++++++++++++++++++++++++++
15 1 file changed, 52 insertions(+)
16
17 diff --git a/app-shells/mksh/mksh-57-r1.ebuild b/app-shells/mksh/mksh-57-r1.ebuild
18 new file mode 100644
19 index 00000000000..3aa638fe245
20 --- /dev/null
21 +++ b/app-shells/mksh/mksh-57-r1.ebuild
22 @@ -0,0 +1,52 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit toolchain-funcs
29 +
30 +if [[ $PV = 9999 ]]; then
31 + inherit cvs
32 + ECVS_SERVER="anoncvs.mirbsd.org:/cvs"
33 + ECVS_MODULE="mksh"
34 + ECVS_USER="_anoncvs"
35 + ECVS_AUTH="ext"
36 + KEYWORDS=""
37 +else
38 + SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
39 + KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
40 +fi
41 +
42 +DESCRIPTION="MirBSD Korn Shell"
43 +HOMEPAGE="http://mirbsd.de/mksh"
44 +LICENSE="BSD"
45 +SLOT="0"
46 +IUSE="static test"
47 +RDEPEND="static? ( dev-libs/klibc )"
48 +DEPEND="
49 + ${RDEPEND}
50 + test? (
51 + dev-lang/perl
52 + sys-apps/ed
53 + )
54 +"
55 +S="${WORKDIR}/${PN}"
56 +
57 +src_compile() {
58 + tc-export CC
59 + # we want to build static with klibc
60 + if use static; then export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi
61 + export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
62 + sh Build.sh -r || die
63 +}
64 +
65 +src_install() {
66 + into /
67 + dobin mksh
68 + doman mksh.1
69 + dodoc dot.mkshrc
70 +}
71 +
72 +src_test() {
73 + ./test.sh -v || die
74 +}