diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index 885b6d4c9a8..9dd0ebc09c5 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -3,6 +3,7 @@ pkgname=qemu version=1.1.1 revision=1 nostrip=yes +noextract=yes build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc --enable-spice --enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen @@ -26,6 +27,11 @@ long_desc=" one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performances." +do_extract() { + # XXX distfile is not bzip2 compressed! it's in gzip format. + tar xfz $XBPS_SRCDISTDIR/qemu-${version}.tar.bz2 -C $XBPS_BUILDDIR +} + pre_configure() { sed -i -e 's/lib64/lib/g' x86_64.ld }