opt/qemu-all/Pkgfile
Thomas Penteker a208c7f3b0 [notify] qemu: split port
qemu is now split into qemu with support for the x86 platform (both 32 and 64
bit and system and user emulation) and a qemu-all port that includes support
for all available platforms.

This was done to reduce build-time for the average user that will only use the
x86 emulation.

Please note, that both ports will kept in sync with regard to options and
versions and thus should be installed in a mutually exclusive fashion.
2013-04-07 21:42:10 +02:00

32 lines
941 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.4.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
# 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
}