14ffd2ee24
git-svn-id: http://svn.sabayonlinux.org/overlay@730 d7aec97c-591d-0410-af39-a8856400b30a
46 lines
1014 B
Bash
46 lines
1014 B
Bash
# Copyright 1999-2006 Sabayon Linux - Fabio Erculiani
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
QEMU_VER="0.8.2"
|
|
DESCRIPTION="qemu emulator and abi wrapper meta ebuild"
|
|
HOMEPAGE="http://kvm.sourceforge.net/"
|
|
SRC_URI="
|
|
x86? ( http://www.sabayonlinux.org/distfiles/app-emulation/${P}-x86.tar.bz2 )
|
|
amd64? ( http://www.sabayonlinux.org/distfiles/app-emulation/${P}-amd64.tar.bz2 )
|
|
http://fabrice.bellard.free.fr/qemu/qemu-${QEMU_VER}.tar.gz
|
|
"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
DEPEND=">=media-libs/alsa-lib-1.0.11
|
|
>=media-libs/libsdl-1.2.10
|
|
sys-fs/e2fsprogs
|
|
x11-libs/libX11
|
|
x11-libs/libXau
|
|
x11-libs/libXdmcp
|
|
media-libs/libcaca
|
|
>=sys-libs/ncurses-5.5
|
|
!app-emulation/qemu
|
|
"
|
|
|
|
|
|
src_install() {
|
|
cd ${S}
|
|
exeinto /usr/bin
|
|
doexe usr/bin/kvm
|
|
if [ ! -e /usr/bin/qemu-img ]; then
|
|
doexe usr/bin/qemu-img
|
|
fi
|
|
doman usr/share/man/man*/*.1*
|
|
|
|
cd ${WORKDIR}/qemu-${QEMU_VER}
|
|
insinto /usr/share/qemu/
|
|
doins pc-bios/*.bin
|
|
doins -r keymaps
|
|
}
|