summaryrefslogtreecommitdiff
blob: 4f6cc7fb296272468606bc393f9b2fec08da6e82 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.60.ebuild,v 1.2 2003/10/18 07:28:56 mr_bones_ Exp $

inherit games

DESCRIPTION="DOS emulator"
HOMEPAGE="http://dosbox.sourceforge.net/"
SRC_URI="mirror://sourceforge/dosbox/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="x86"
SLOT="0"

IUSE="alsa ncurses png"

DEPEND="png? ( media-libs/libpng sys-libs/zlib )
	alsa? ( media-libs/alsa-lib )
	media-libs/sdl-net
	>=media-libs/libsdl-1.2.0"

src_compile() {
	egamesconf \
		`use_enable alsa alsatest` || die
	emake || die "emake failed"
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
	dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS
	prepgamesdirs
}