blob: 8a29f9fb2890738a53673ffa7b5cb587cce3f270 (
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
38
39
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/lsdldoom-1.5.ebuild,v 1.4 2013/02/25 02:43:31 vapier Exp $
EAPI=2
inherit eutils games
DESCRIPTION="Port of ID's doom to SDL"
HOMEPAGE="http://jesshaas.com/lsdldoom/"
SRC_URI="http://jesshaas.com/lsdldoom/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="arm ppc x86"
IUSE="+net +shareware freedoom"
DEPEND="media-libs/libsdl[video]
media-libs/sdl-mixer
net? ( media-libs/sdl-net )"
RDEPEND="${DEPEND}
shareware? ( games-fps/doom-data )
freedoom? ( games-fps/freedoom )"
PATCHES=( "${FILESDIR}"/${P}-paths.patch )
src_configure() {
# cpu-opt -> just adds -mcpu crap to CFLAGS
egamesconf \
--disable-dependency-tracking \
--disable-cpu-opt \
$(use_enable net net-game)
}
src_install() {
emake DESTDIR="${D}" install || die
prepalldocs
dodoc ChangeLog
prepgamesdirs
}
|