blob: 0fdc967a8bef9e6233493eb15e5aa4a12cdf990f (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-server/crossfire-server/crossfire-server-1.7.0.ebuild,v 1.1 2005/07/26 22:31:04 wolf31o2 Exp $
inherit eutils games
MY_P="${P/-server}"
DESCRIPTION="server for the crossfire clients"
HOMEPAGE="http://crossfire.real-time.com/"
SRC_URI="mirror://sourceforge/crossfire/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="X"
DEPEND="virtual/libc
X? (
virtual/x11
media-libs/libpng )"
S="${WORKDIR}/${MY_P}"
src_compile() {
egamesconf $(use_with X x) || die
emake || die "emake failed"
}
src_install() {
make install DESTDIR="${D}" || die "make install failed"
dodoc AUTHORS ChangeLog DEVELOPERS NEWS README TODO
prepgamesdirs
}
|