2009-03-08 09:43:24 +01:00
|
|
|
# Description: Fast CPU emulator and virtualizer
|
2009-09-19 01:05:25 +02:00
|
|
|
# URL: http://www.qemu.org
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
|
|
# Packager: Lucas Hazel, lucas at die dot net dot au
|
|
|
|
# Depends on: libsdl
|
2011-05-17 10:08:51 +02:00
|
|
|
# Nice to have: kqemu
|
2009-03-08 09:43:24 +01:00
|
|
|
|
|
|
|
name=qemu
|
2011-05-17 09:46:41 +02:00
|
|
|
version=0.14.1
|
2009-03-31 10:57:54 +02:00
|
|
|
release=1
|
2009-03-08 09:43:24 +01:00
|
|
|
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2009-09-19 01:05:25 +02:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--cc="${CC:=gcc}" \
|
2010-10-19 22:32:20 +02:00
|
|
|
--host-cc="${CC:=gcc}" \
|
|
|
|
--sysconfdir=/etc \
|
2011-05-17 10:08:51 +02:00
|
|
|
--disable-docs
|
2009-09-19 01:05:25 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2009-03-11 00:03:23 +01:00
|
|
|
|
2011-05-17 10:08:51 +02:00
|
|
|
make qemu.1 qemu-img.1 qemu-nbd.8
|
|
|
|
install -D -m 644 qemu.1 $PKG/usr/man/man1/qemu.1
|
|
|
|
install -D -m 644 qemu-img.1 $PKG/usr/man/man1/qemu-img.1
|
|
|
|
install -D -m 644 qemu-nbd.8 $PKG/usr/man/man8/qemu-nbd.8
|
2009-03-08 09:43:24 +01:00
|
|
|
}
|