Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/lambdamoo/, net-misc/lambdamoo/files/
Date: Wed, 04 May 2016 00:10:58
Message-Id: 1462320517.af0c29ef228e4dcd90d25cde3b6412ae1eec0d6a.wizardedit@gentoo
1 commit: af0c29ef228e4dcd90d25cde3b6412ae1eec0d6a
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 00:00:23 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 00:08:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af0c29ef
7
8 net-misc/lambdamoo: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/573846
11
12 Package-Manager: portage-2.2.26
13
14 net-misc/lambdamoo/files/lambdamoo.rc | 4 +--
15 net-misc/lambdamoo/lambdamoo-1.8.1-r3.ebuild | 48 ++++++++++++++++++++++++++++
16 2 files changed, 50 insertions(+), 2 deletions(-)
17
18 diff --git a/net-misc/lambdamoo/files/lambdamoo.rc b/net-misc/lambdamoo/files/lambdamoo.rc
19 index 142ce15..579076f 100644
20 --- a/net-misc/lambdamoo/files/lambdamoo.rc
21 +++ b/net-misc/lambdamoo/files/lambdamoo.rc
22 @@ -1,5 +1,5 @@
23 -#!/sbin/runscript
24 -# Copyright 1999-2004 Gentoo Foundation
25 +#!/sbin/openrc-run
26 +# Copyright 1999-2016 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 # $Id$
29
30
31 diff --git a/net-misc/lambdamoo/lambdamoo-1.8.1-r3.ebuild b/net-misc/lambdamoo/lambdamoo-1.8.1-r3.ebuild
32 new file mode 100644
33 index 0000000..de08a46
34 --- /dev/null
35 +++ b/net-misc/lambdamoo/lambdamoo-1.8.1-r3.ebuild
36 @@ -0,0 +1,48 @@
37 +# Copyright 1999-2016 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Id$
40 +
41 +EAPI="6"
42 +
43 +inherit autotools
44 +
45 +DESCRIPTION="networked mud that can be used for different types of collaborative software"
46 +HOMEPAGE="http://sourceforge.net/projects/lambdamoo/"
47 +SRC_URI="mirror://sourceforge/lambdamoo/LambdaMOO-${PV}.tar.gz"
48 +
49 +LICENSE="LambdaMOO GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~x86 ~sparc"
52 +IUSE=""
53 +
54 +DEPEND="sys-devel/bison"
55 +RDEPEND=""
56 +
57 +S=${WORKDIR}/MOO-${PV}
58 +
59 +src_prepare() {
60 + default
61 +
62 + eapply "${FILESDIR}"/${PV}-enable-outbound.patch
63 + sed -i Makefile.in \
64 + -e '/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g' \
65 + || die "sed Makefile.in"
66 + eautoreconf
67 +}
68 +
69 +src_compile() {
70 + emake \
71 + CC=$(tc-getCC) \
72 + CFLAGS="${CFLAGS} \
73 + -DHAVE_MKFIFO=1"
74 +}
75 +
76 +src_install() {
77 + dosbin moo
78 + insinto /usr/share/${PN}
79 + doins Minimal.db
80 + dodoc *.txt README*
81 +
82 + newinitd "${FILESDIR}"/lambdamoo.rc ${PN}
83 + newconfd "${FILESDIR}"/lambdamoo.conf ${PN}
84 +}