blob: e950bde4cbe29b57505ba745eb5980e45e6d75d9 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/regina-rexx/regina-rexx-3.6-r1.ebuild,v 1.6 2012/12/15 18:13:37 jer Exp $
EAPI=4
inherit autotools toolchain-funcs
DESCRIPTION="Portable Rexx interpreter"
HOMEPAGE="http://regina-rexx.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/Regina-REXX-${PV}.tar.gz"
LICENSE="LGPL-2.1 MPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ppc ~x86"
IUSE=""
S=${WORKDIR}/Regina-REXX-${PV}
MAKEOPTS+=" -j1"
DOCS=( BUGS HACKERS.txt README.Unix README_SAFE TODO )
src_prepare() {
sed -e 's/CFLAGS=/UPSTREAM_CFLAGS=/' -i common/incdebug.m4 || die
sed -e 's|-$(INSTALL) -m 755 -c ./rxstack.init.d $(DESTDIR)$(sysconfdir)/rc.d/init.d/rxstack||' \
-i Makefile.in || die
eautoconf
tc-export CC #don't move it as tc-getCC
}
src_compile() {
emake LIBEXE="$(tc-getAR)"
}
src_install() {
default
newinitd "${FILESDIR}"/rxstack-r1 rxstack
}
pkg_postinst() {
elog "You may want to run"
elog
elog "\trc-update add rxstack default"
elog
elog "to enable Rexx queues (optional)."
}
|