Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/regina-rexx/, dev-lang/regina-rexx/files/
Date: Tue, 26 Apr 2016 22:27:23
Message-Id: 1461709592.a3fae170fa82e65aa481c6d0db8618da20f52432.wizardedit@gentoo
1 commit: a3fae170fa82e65aa481c6d0db8618da20f52432
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 20:51:26 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 22:26:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3fae170
7
8 dev-lang/regina-rexx: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846
11
12 Package-Manager: portage-2.2.26
13
14 dev-lang/regina-rexx/files/rxstack-r1 | 2 +-
15 dev-lang/regina-rexx/regina-rexx-3.6-r3.ebuild | 48 ++++++++++++++++++++++++
16 dev-lang/regina-rexx/regina-rexx-3.9.1-r1.ebuild | 46 +++++++++++++++++++++++
17 3 files changed, 95 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-lang/regina-rexx/files/rxstack-r1 b/dev-lang/regina-rexx/files/rxstack-r1
20 index da4299d..668af5e 100644
21 --- a/dev-lang/regina-rexx/files/rxstack-r1
22 +++ b/dev-lang/regina-rexx/files/rxstack-r1
23 @@ -1,4 +1,4 @@
24 -#!/sbin/runscript
25 +#!/sbin/openrc-run
26
27 start() {
28 ebegin "Starting Regina stack"
29
30 diff --git a/dev-lang/regina-rexx/regina-rexx-3.6-r3.ebuild b/dev-lang/regina-rexx/regina-rexx-3.6-r3.ebuild
31 new file mode 100644
32 index 0000000..b3f9548
33 --- /dev/null
34 +++ b/dev-lang/regina-rexx/regina-rexx-3.6-r3.ebuild
35 @@ -0,0 +1,48 @@
36 +# Copyright 1999-2016 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +# $Id$
39 +
40 +EAPI=4
41 +
42 +inherit autotools eutils toolchain-funcs
43 +
44 +DESCRIPTION="Portable Rexx interpreter"
45 +HOMEPAGE="http://regina-rexx.sourceforge.net"
46 +SRC_URI="mirror://sourceforge/${PN}/Regina-REXX-${PV}.tar.gz"
47 +
48 +LICENSE="LGPL-2.1 MPL-1.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ppc x86"
51 +IUSE=""
52 +
53 +S=${WORKDIR}/Regina-REXX-${PV}
54 +
55 +MAKEOPTS+=" -j1"
56 +
57 +DOCS=( BUGS HACKERS.txt README.Unix README_SAFE TODO )
58 +
59 +src_prepare() {
60 + sed -e 's/CFLAGS=/UPSTREAM_CFLAGS=/' -i common/incdebug.m4 || die
61 +
62 + epatch "${FILESDIR}"/${PN}-3.6-gentoo.patch
63 +
64 + eautoconf
65 + tc-export CC #don't move it as tc-getCC
66 +}
67 +
68 +src_compile() {
69 + emake LIBEXE="$(tc-getAR)"
70 +}
71 +
72 +src_install() {
73 + default
74 + newinitd "${FILESDIR}"/rxstack-r1 rxstack
75 +}
76 +
77 +pkg_postinst() {
78 + elog "You may want to run"
79 + elog
80 + elog "\trc-update add rxstack default"
81 + elog
82 + elog "to enable Rexx queues (optional)."
83 +}
84
85 diff --git a/dev-lang/regina-rexx/regina-rexx-3.9.1-r1.ebuild b/dev-lang/regina-rexx/regina-rexx-3.9.1-r1.ebuild
86 new file mode 100644
87 index 0000000..ef5d773
88 --- /dev/null
89 +++ b/dev-lang/regina-rexx/regina-rexx-3.9.1-r1.ebuild
90 @@ -0,0 +1,46 @@
91 +# Copyright 1999-2016 Gentoo Foundation
92 +# Distributed under the terms of the GNU General Public License v2
93 +# $Id$
94 +
95 +EAPI=4
96 +
97 +inherit autotools eutils toolchain-funcs
98 +
99 +DESCRIPTION="Portable Rexx interpreter"
100 +HOMEPAGE="http://regina-rexx.sourceforge.net"
101 +SRC_URI="mirror://sourceforge/${PN}/Regina-REXX-${PV}.tar.gz"
102 +
103 +LICENSE="LGPL-2.1 MPL-1.0"
104 +SLOT="0"
105 +KEYWORDS="~amd64 ~ppc ~x86"
106 +IUSE=""
107 +
108 +S=${WORKDIR}/Regina-REXX-${PV}
109 +
110 +MAKEOPTS+=" -j1"
111 +
112 +DOCS=( BUGS HACKERS.txt README.Unix README_SAFE TODO )
113 +
114 +src_prepare() {
115 + sed -e 's/CFLAGS=/UPSTREAM_CFLAGS=/' -i common/incdebug.m4 || die
116 +
117 + eautoconf
118 + tc-export CC #don't move it as tc-getCC
119 +}
120 +
121 +src_compile() {
122 + emake LIBEXE="$(tc-getAR)"
123 +}
124 +
125 +src_install() {
126 + default
127 + newinitd "${FILESDIR}"/rxstack-r1 rxstack
128 +}
129 +
130 +pkg_postinst() {
131 + elog "You may want to run"
132 + elog
133 + elog "\trc-update add rxstack default"
134 + elog
135 + elog "to enable Rexx queues (optional)."
136 +}