From 1e10409ca3944a192b3706b7048f1016f33e23a7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 12 Aug 2011 11:11:26 +0200 Subject: [PATCH] aqemu: update to 0.8.2. --- srcpkgs/aqemu/template | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/srcpkgs/aqemu/template b/srcpkgs/aqemu/template index 0738fea6ab..c478bfed9f 100644 --- a/srcpkgs/aqemu/template +++ b/srcpkgs/aqemu/template @@ -1,11 +1,17 @@ # Template file for 'aqemu' pkgname=aqemu -version=0.8.1 +version=0.8.2 +build_wrksrc=build distfiles="${SOURCEFORGE_SITE}/aqemu/aqemu-$version.tar.bz2" -build_style=custom-install +build_style=configure +configure_script="cmake" +configure_args="-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr +-DWITHOUT_EMBEDDED_DISPLAY=True .." short_desc="GUI to QEMU and KVM emulators, written in Qt4" maintainer="Juan RP " -checksum=0fab894e5f49f688122ad15065bbdf278def1425a5d43ad2d64a21caf8dec41a +homepage="http://aqemu.sourceforge.net" +license="GPL-2" +checksum=03c4a95328f78238021168ca4887f9735641f10eb4eb1eff58b08c15b748bf03 long_desc=" AQEMU is GUI to QEMU and KVM emulators, written in Qt4. The program has user-friendly interface and allows to set up the majority of QEMU and KVM @@ -22,17 +28,7 @@ Add_dependency build qt-devel Add_dependency full qemu Add_dependency full desktop-file-utils -do_build() +pre_configure() { - mkdir -p ${wrksrc}/build && cd ${wrksrc}/build - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DWITHOUT_EMBEDDED_DISPLAY=True .. - make ${makejobs} -} - -do_install() -{ - cd ${wrksrc}/build - make DESTDIR=${DESTDIR} install + mkdir -p ${build_wrksrc} }