summaryrefslogtreecommitdiffstats
path: root/extra/aqemu/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/aqemu/Pkgfile')
-rw-r--r--extra/aqemu/Pkgfile19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/aqemu/Pkgfile b/extra/aqemu/Pkgfile
index d853447b3..0a3a422b0 100644
--- a/extra/aqemu/Pkgfile
+++ b/extra/aqemu/Pkgfile
@@ -2,18 +2,21 @@
# URL: http://sourceforge.net/projects/aqemu/
# Maintainer: NuTyX core team
# Packager: guy_
-# Depends on: qt, qemu
+# Depends on: cmake, qt, qemu
name=aqemu
-version=0.7.3
+version=0.8.0
release=1
-source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
+
+source=(http://sourceforge.net/projects/aqemu/files/aqemu/0.8/aqemu-0.8.0.tar.bz2)
+
build() {
- cd $name-$version
- sed 's/\$PREFIX\/\$DESTDIR/\$DESTDIR\/\$PREFIX/' -i install_script.sh
- export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++
- ./configure.sh --disable-embedded-display
+ cd $name-*
+
+ cmake -DCMAKE_INSTALL_PREFIX=$PKG/usr/ \
+ -DWITHOUT_EMBEDDED_DISPLAY=on
+
make
- ./install_script.sh $PKG
+ make DESTDIR=$PKG install
}