35 lines
995 B
Plaintext
35 lines
995 B
Plaintext
# 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
|
|
version=1.6.0
|
|
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 \
|
|
--libexecdir=/usr/lib/qemu \
|
|
--disable-gtk
|
|
|
|
# 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
|
|
|
|
rm -rf $PKG/usr/share/locale
|
|
}
|