/[gentoo-x86]/net-misc/lambdamoo/lambdamoo-1.8.1-r2.ebuild
Gentoo

Contents of /net-misc/lambdamoo/lambdamoo-1.8.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Apr 9 18:58:13 2013 UTC (6 years, 8 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Fix LICENSE, bug 465280.

(Portage version: 2.1.11.60/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/lambdamoo/lambdamoo-1.8.1-r2.ebuild,v 1.2 2012/07/12 15:53:55 axs Exp $
4
5 EAPI="2"
6
7 inherit eutils autotools
8
9 DESCRIPTION="networked mud that can be used for different types of collaborative software"
10 HOMEPAGE="http://sourceforge.net/projects/lambdamoo/"
11 SRC_URI="mirror://sourceforge/lambdamoo/LambdaMOO-${PV}.tar.gz"
12
13 LICENSE="LambdaMOO GPL-2"
14 SLOT="0"
15 KEYWORDS="~x86 ~sparc"
16 IUSE=""
17
18 DEPEND="sys-devel/bison"
19 RDEPEND=""
20
21 S=${WORKDIR}/MOO-${PV}
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${PV}-enable-outbound.patch
25 sed -i Makefile.in \
26 -e '/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g' \
27 || die "sed Makefile.in"
28 eautoreconf
29 }
30
31 src_compile() {
32 emake \
33 CC=$(tc-getCC) \
34 CFLAGS="${CFLAGS} \
35 -DHAVE_MKFIFO=1" \
36 || die "emake failed!"
37 }
38
39 src_install() {
40 dosbin moo
41 insinto /usr/share/${PN}
42 doins Minimal.db
43 dodoc *.txt README*
44
45 newinitd "${FILESDIR}"/lambdamoo.rc ${PN}
46 newconfd "${FILESDIR}"/lambdamoo.conf ${PN}
47 }

  ViewVC Help
Powered by ViewVC 1.1.20