blob: 3c91825f17c5c47150f55690a19880f0666fffd2 (
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
32
33
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)"
HOMEPAGE="https://github.com/att/ast"
MY_PV="${PV/_/-}"
MY_P="${PN}-${MY_PV}"
SRC_URI="https://github.com/att/ast/releases/download/${MY_PV}/${MY_P}.tar.gz
https://github.com/att/ast/commit/db7fe39b744d071bb0428c91e2eb84877f068dac.patch -> ${MY_P}-solaris.patch
https://github.com/att/ast/commit/63e9edcb6084d4b164439065e2d71f3e900ec3c7.patch -> ${MY_P}-conftab.patch"
S="${WORKDIR}/${MY_P}"
LICENSE="CPL-1.0 EPL-1.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
RDEPEND="!app-shells/pdksh"
PATCHES=(
"${DISTDIR}"/${MY_P}-solaris.patch
"${DISTDIR}"/${MY_P}-conftab.patch
)
src_install() {
meson_src_install
dodir /bin
mv "${ED}/usr/bin/ksh" "${ED}/bin/ksh" || die
}
|