qemu: fix distfile extraction.

This commit is contained in:
Juan RP 2012-07-13 21:47:54 +02:00
parent dcb64f4781
commit 14dcaecd6e
1 changed files with 6 additions and 0 deletions

View File

@ -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
}