add geo_sone_sources

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@569 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2008-11-21 19:25:12 +00:00
parent a315b1449d
commit 1d30169837
6 changed files with 235 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="DOS emulator"
HOMEPAGE="http://dosbox.sourceforge.net/"
SRC_URI="mirror://sourceforge/dosbox/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug hardened"
DEPEND="debug? ( sys-libs/ncurses )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}+gcc-4.3.patch"
}
src_compile() {
econf --disable-dependency-tracking \
$(use_enable alsa alsa-midi) \
$(use_enable !hardened dynamic-x86) \
$(use_enable debug) \
|| die
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README THANKS
prepgamesdirs
}