2013-04-07 21:42:10 +02:00
|
|
|
# Description: Fast CPU emulator and virtualizer for all supported platforms
|
|
|
|
# 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
|
|
|
|
# Nice to have: libseccomp libiscsi
|
|
|
|
|
|
|
|
name=qemu-all
|
2013-07-29 23:00:53 +02:00
|
|
|
version=1.5.2
|
2013-04-07 21:42:10 +02:00
|
|
|
release=1
|
|
|
|
source=(http://wiki.qemu.org/download/qemu-$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd qemu-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--cc="${CC:=gcc}" \
|
|
|
|
--host-cc="${CC:=gcc}" \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-docs \
|
2013-06-30 13:44:12 +02:00
|
|
|
--libexecdir=/usr/lib/qemu \
|
|
|
|
--disable-gtk \
|
2013-04-07 21:42:10 +02:00
|
|
|
|
|
|
|
# fix include issues with nspr
|
|
|
|
echo 'QEMU_CFLAGS+=-I/usr/include/nspr' >> libcacard/Makefile
|
|
|
|
make ${MAKEFLAGS:=}
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
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
|
2013-05-21 21:29:23 +02:00
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/locale
|
2013-04-07 21:42:10 +02:00
|
|
|
}
|