diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 16:28:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 16:28:07 +0000 |
commit | ae044aeba549da343d278a26bb72bac844e5a5e4 (patch) | |
tree | b16ea879113ef2bd09bb78bb00e8338b088d3afb /games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild | |
parent | New package - rename. (diff) | |
download | gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.gz gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.bz2 gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.zip |
welcome to games-emulation
Diffstat (limited to 'games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild')
-rw-r--r-- | games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild b/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild new file mode 100644 index 000000000000..2f9a6e5c92f9 --- /dev/null +++ b/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild @@ -0,0 +1,45 @@ +# 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-cvs/dosbox-cvs-20030809.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $ + +DESCRIPTION="DOS Emulator" +HOMEPAGE="http://www.dosbox.sf.net" + +KEYWORDS="x86 ppc" +LICENSE="GPL-2" +IUSE="alsa" +SLOT="0" + +# don't install this package and the stable one at the same time. +# they use the same binary names. +DEPEND="sys-libs/ncurses + >=media-libs/libsdl-1.2.0 + media-libs/libpng + sys-libs/zlib + media-libs/sdl-net + alsa? ( media-libs/alsa-lib ) + !app-emulation/dosbox" + +inherit cvs debug flag-o-matic + +strip-flags + +ECVS_SERVER="cvs.sourceforge.net:/cvsroot/dosbox" +ECVS_MODULE="dosbox" +ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}" +S=${WORKDIR}/${ECVS_MODULE} + +src_compile() { + ln -s /usr/include/SDL/*.h ./include/ || \ + die "Linking SDL-includes failed" + ./autogen.sh --prefix=/usr --host=${CHOST} || \ + die "autogen.sh failed" + econf `use_enable alsa alsatest` || die + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || \ + die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS +} |