/[gentoo-x86]/games-server/monopd/monopd-0.9.8.ebuild
Gentoo

Contents of /games-server/monopd/monopd-0.9.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun May 10 18:52:41 2015 UTC (4 years, 8 months ago) by nimiux
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for amd64 wrt bug #547530

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key F253DB15)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-server/monopd/monopd-0.9.8.ebuild,v 1.2 2015/04/26 16:23:47 pacho Exp $
4
5 EAPI=5
6 inherit autotools eutils systemd games
7
8 DESCRIPTION="server for atlantik games"
9 HOMEPAGE="http://gtkatlantic.gradator.net/"
10 SRC_URI="http://download.tuxfamily.org/gtkatlantic/monopd/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc x86"
15 IUSE="systemd"
16
17 RDEPEND="systemd? ( sys-apps/systemd )"
18 DEPEND="${RDEPEND}
19 >=sys-libs/libmath++-0.0.3"
20
21 src_prepare() {
22 sed "s:GENTOO_DIR:\"${GAMES_BINDIR}\":" \
23 "${FILESDIR}"/monopd.in > "${T}"/monopd || die
24 sed -i \
25 -e '/C_SUBST(CXXFLAGS/s/CFLAGS/CXXFLAGS/' \
26 configure.ac || die
27 eautoreconf
28 }
29
30 src_configure() {
31 egamesconf $(use_with systemd systemd-daemon)
32 }
33
34 src_install() {
35 default
36 doinitd "${T}"/monopd
37 systemd_dounit doc/systemd/monopd.s*
38 prepgamesdirs
39 }

  ViewVC Help
Powered by ViewVC 1.1.20