blob: 3a1aeb81c0285e7ffa90407e12c30589f95d1866 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-server/monopd/monopd-0.9.3-r1.ebuild,v 1.4 2011/12/15 11:02:56 ago Exp $
inherit eutils games
DESCRIPTION="server for atlantik games"
HOMEPAGE="http://unixcode.org/monopd/"
SRC_URI="http://unixcode.org/downloads/monopd/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
DEPEND=">=net-libs/libcapsinetwork-0.3.0
>=sys-libs/libmath++-0.0.3"
RDEPEND=">=net-libs/libcapsinetwork-0.3.0"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc43.patch #218833
epatch "${FILESDIR}"/${P}-dosfix.patch
# make the example config better (bug #206740)
sed -i \
-e '/gatorhost/s/=.*/=monopd-gator.kde.org/' \
conf/monopd.conf-dist \
|| die "sed failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc doc/api/gameboard API AUTHORS ChangeLog NEWS README* TODO
doinitd "${FILESDIR}"/monopd || die "doinitd failed"
prepgamesdirs
}
|