From 23d60086295f0eef2983709add6872a78083fac8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 14 Feb 2011 22:55:29 +0100 Subject: [PATCH] Added aqemu-0.8.1 build template. --- srcpkgs/aqemu/template | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 srcpkgs/aqemu/template diff --git a/srcpkgs/aqemu/template b/srcpkgs/aqemu/template new file mode 100644 index 00000000000..0738fea6ab6 --- /dev/null +++ b/srcpkgs/aqemu/template @@ -0,0 +1,38 @@ +# Template file for 'aqemu' +pkgname=aqemu +version=0.8.1 +distfiles="${SOURCEFORGE_SITE}/aqemu/aqemu-$version.tar.bz2" +build_style=custom-install +short_desc="GUI to QEMU and KVM emulators, written in Qt4" +maintainer="Juan RP " +checksum=0fab894e5f49f688122ad15065bbdf278def1425a5d43ad2d64a21caf8dec41a +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 + options." + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ +Add_dependency run qt + +Add_dependency build cmake +Add_dependency build qt-devel + +Add_dependency full qemu +Add_dependency full desktop-file-utils + +do_build() +{ + 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 +}