Portage is a package management system used by Gentoo Linux
# ChangeLog for games-emulation/dosbox-cvs
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox-cvs/ChangeLog,v 1.15 2007/03/21 23:15:23 mr_bones_ Exp $
21 Mar 2007; Michael Sterrett
dosbox-cvs-20030809.ebuild:
sync with dosbox ebuild
12 Mar 2007; Marius Mauch
Replacing einfo with elog
12 May 2006; Michael Sterrett
dosbox-cvs-20030809.ebuild:
sync with sourceforge layout changes
27 Feb 2006; Michael Sterrett
dosbox-cvs-20030809.ebuild:
alsa is actually a hard dep. configure.in automagically detects it otherwise.
05 Feb 2006; Michael Sterrett
dosbox-cvs-20030809.ebuild:
tidy; add debug support
15 Jun 2005; Chris Gianelloni
dosbox-cvs-20030809.ebuild:
Removed INSTALL file.
25 Jul 2004; Michael Sterrett
dosbox-cvs-20030809.ebuild:
add a warning for people using ati-drivers (bug #57188)
01 Jul 2004; Jeremy Huddleston
dosbox-cvs-20030809.ebuild:
virtual/glibc -> virtual/libc
04 Jun 2004; Michael Sterrett
dosbox-cvs-20030809.ebuild:
keyword for ~amd64 (bug #53017)
05 Mar 2004; Michael Sterrett
dosbox-cvs-20030809.ebuild:
use games eclass; more alsa checking; fix deps
28 Feb 2004; Michael Sterrett
dosbox-cvs-20030809.ebuild:
move strip-flags into src_compile
16 Oct 2003; Michael Sterrett
dosbox-cvs-20030809.ebuild:
fix HOMEPAGE
*dosbox-cvs-20030809 (09 Aug 2003)
09 Aug 2003; Michael Sterrett
dosbox-cvs-20030809.ebuild:
initial commit. Ebuild from Alexander Minges (modified) via bug 25628.
EBUILD dosbox-cvs-20030809.ebuild 1660 RMD160 0dc858b1d78d416bbac7c3b40a4389b0912d7fa8 SHA1 48619159f625c16232f0fa7ca44df25075a546da SHA256 68ae5702f77bc894da2c4780f6c41220e0d7b44ee95346a3d3027e5c385fbf47
MISC ChangeLog 1896 RMD160 efee496884fc6046791f913363fa9158aff3559f SHA1 d2fde5fb279f9c24062d031a106732ca22e95a84 SHA256 38c754a7b896502287aaa5e952c9a6f022ba053854d293b754fd60cce7bb2f84
MISC metadata.xml 221 RMD160 617e2d275f39c937dfdc8ae1ebc0b4fac331d0a9 SHA1 e947c4afb6291420a09d464cb18472cfcf1cb498 SHA256 80c34a967b80bba5f0f27215677fdad5b1ed739678287b62db1f6c345cf69811
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild,v 1.17 2007/03/21 23:15:23 mr_bones_ Exp $
inherit eutils games cvs
DESCRIPTION="DOS emulator"
HOMEPAGE="http://dosbox.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE="alsa debug hardened opengl sdl png"
DEPEND="alsa? ( media-libs/alsa-lib )
opengl? ( virtual/opengl )
png? ( media-libs/libpng )
debug? ( sys-libs/ncurses )
media-libs/libsdl
sdl? ( media-libs/sdl-net
media-libs/sdl-sound )"
ECVS_SERVER="dosbox.cvs.sourceforge.net:/cvsroot/dosbox"
ECVS_MODULE="dosbox"
ECVS_TOP_DIR=${DISTDIR}/cvs-src/${PN}
S=${WORKDIR}/${ECVS_MODULE}
pkg_setup() {
if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
eerror "To be able to build dosbox with ALSA support you need"
eerror "to have built media-libs/alsa-lib with midi USE flag."
die "Missing midi USE flag on media-libs/alsa-lib"
fi
games_pkg_setup
}
src_compile() {
local myconf=
if ! use alsa ; then
myconf="--without-alsa-prefix --without-alsa-inc-prefix --disable-alsatest"
fi
# bug #66038
if use hardened ; then
myconf="${myconf} --disable-dynamic-x86"
fi
if use debug ; then
myconf="${myconf} --enable-debug"
fi
./autogen.sh || die "autogen.sh failed"
egamesconf \
--disable-dependency-tracking \
${myconf} \
$(use_enable opengl) \
|| die
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README THANKS
prepgamesdirs
}