31 lines
843 B
Plaintext
31 lines
843 B
Plaintext
# Description: Fast CPU emulator and virtualizer
|
|
# 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: kqemu
|
|
|
|
name=qemu
|
|
version=1.0.1
|
|
release=1
|
|
source=(http://wiki.qemu.org/download/qemu-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
./configure --prefix=/usr \
|
|
--cc="${CC:=gcc}" \
|
|
--host-cc="${CC:=gcc}" \
|
|
--sysconfdir=/etc \
|
|
--disable-docs
|
|
|
|
# fix include issues with nspr
|
|
echo 'QEMU_CFLAGS+=-I/usr/include/nspr' >> libcacard/Makefile
|
|
make
|
|
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
|
|
}
|