1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools eutils toolchain-funcs
9 DESCRIPTION="Portable Rexx interpreter"
10 HOMEPAGE="http://regina-rexx.sourceforge.net"
11 SRC_URI="mirror://sourceforge/${PN}/Regina-REXX-${PV}.tar.gz"
13 LICENSE="LGPL-2.1 MPL-1.0"
15 KEYWORDS="~amd64 ppc x86"
18 S=${WORKDIR}/Regina-REXX-${PV}
22 DOCS=( BUGS HACKERS.txt README.Unix README_SAFE TODO )
25 sed -e 's/CFLAGS=/UPSTREAM_CFLAGS=/' -i common/incdebug.m4 || die
27 epatch "${FILESDIR}"/${PN}-3.6-gentoo.patch
30 tc-export CC #don't move it as tc-getCC
34 emake LIBEXE="$(tc-getAR)"
39 newinitd "${FILESDIR}"/rxstack-r1 rxstack
43 elog "You may want to run"
45 elog "\trc-update add rxstack default"
47 elog "to enable Rexx queues (optional)."