1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools eutils toolchain-funcs
8 DESCRIPTION="Portable Rexx interpreter"
9 HOMEPAGE="https://regina-rexx.sourceforge.io/"
10 SRC_URI="mirror://sourceforge/${PN}/Regina-REXX-${PV}.tar.gz"
12 LICENSE="LGPL-2.1 MPL-1.0"
14 KEYWORDS="~amd64 ~ppc ~x86"
17 S=${WORKDIR}/Regina-REXX-${PV}
21 DOCS=( BUGS HACKERS.txt README.Unix README_SAFE TODO )
24 sed -e 's/CFLAGS=/UPSTREAM_CFLAGS=/' -i common/incdebug.m4 || die
27 tc-export CC #don't move it as tc-getCC
31 emake LIBEXE="$(tc-getAR)"
36 newinitd "${FILESDIR}"/rxstack-r1 rxstack
40 elog "You may want to run"
42 elog "\trc-update add rxstack default"
44 elog "to enable Rexx queues (optional)."