diff options
author | Austin English <wizardedit@gentoo.org> | 2016-05-03 19:00:23 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-05-03 19:08:37 -0500 |
commit | af0c29ef228e4dcd90d25cde3b6412ae1eec0d6a (patch) | |
tree | b02d5b79bf9a6e519d64af392dfc8d84549056c5 /net-misc | |
parent | net-misc/ipx-utils: remove old version (diff) | |
download | gentoo-af0c29ef228e4dcd90d25cde3b6412ae1eec0d6a.tar.gz gentoo-af0c29ef228e4dcd90d25cde3b6412ae1eec0d6a.tar.bz2 gentoo-af0c29ef228e4dcd90d25cde3b6412ae1eec0d6a.zip |
net-misc/lambdamoo: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/lambdamoo/files/lambdamoo.rc | 4 | ||||
-rw-r--r-- | net-misc/lambdamoo/lambdamoo-1.8.1-r3.ebuild | 48 |
2 files changed, 50 insertions, 2 deletions
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} +} |