From: Austin English Date: Wed, 4 May 2016 00:00:23 +0000 (-0500) Subject: net-misc/lambdamoo: use #!/sbin/openrc-run instead of #!/sbin/runscript X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=af0c29ef228e4dcd90d25cde3b6412ae1eec0d6a;p=gentoo.git net-misc/lambdamoo: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 --- diff --git a/net-misc/lambdamoo/files/lambdamoo.rc b/net-misc/lambdamoo/files/lambdamoo.rc index 142ce15dc8a9..579076f26cb1 100644 --- a/net-misc/lambdamoo/files/lambdamoo.rc +++ b/net-misc/lambdamoo/files/lambdamoo.rc @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-misc/lambdamoo/lambdamoo-1.8.1-r3.ebuild b/net-misc/lambdamoo/lambdamoo-1.8.1-r3.ebuild new file mode 100644 index 000000000000..de08a462f918 --- /dev/null +++ b/net-misc/lambdamoo/lambdamoo-1.8.1-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit autotools + +DESCRIPTION="networked mud that can be used for different types of collaborative software" +HOMEPAGE="http://sourceforge.net/projects/lambdamoo/" +SRC_URI="mirror://sourceforge/lambdamoo/LambdaMOO-${PV}.tar.gz" + +LICENSE="LambdaMOO GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc" +IUSE="" + +DEPEND="sys-devel/bison" +RDEPEND="" + +S=${WORKDIR}/MOO-${PV} + +src_prepare() { + default + + eapply "${FILESDIR}"/${PV}-enable-outbound.patch + sed -i Makefile.in \ + -e '/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g' \ + || die "sed Makefile.in" + eautoreconf +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + CFLAGS="${CFLAGS} \ + -DHAVE_MKFIFO=1" +} + +src_install() { + dosbin moo + insinto /usr/share/${PN} + doins Minimal.db + dodoc *.txt README* + + newinitd "${FILESDIR}"/lambdamoo.rc ${PN} + newconfd "${FILESDIR}"/lambdamoo.conf ${PN} +}