From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- emulation/qemu/qemu.build | 75 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100755 emulation/qemu/qemu.build (limited to 'emulation/qemu/qemu.build') diff --git a/emulation/qemu/qemu.build b/emulation/qemu/qemu.build new file mode 100755 index 0000000..bf214f0 --- /dev/null +++ b/emulation/qemu/qemu.build @@ -0,0 +1,75 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=qemu +VERSION=1.5.0 +BUILD=1 +DEPENDS=('glib >= 2.36.0-1' 'sdl >= 1.2.15-1' 'curl >= 7.29.0-1' 'gtk+ >= 2.24.17-1' 'vte >= 0.28.2-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null 2> /dev/null ; then + true +else + echo "kvm:x:78:kvm" >> etc/group +fi +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[savannah]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2 LGPL21 MIT" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --extra-cflags="${FLAGS}" \ + --prefix="${SYS_DIR[usr]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --datadir="${SYS_DIR[share]}/application-data" \ + --mandir="${SYS_DIR[man]}" \ + --docdir="${SYS_DIR[html]}/${SRCNAME[0]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --audio-drv-list="alsa sdl" \ + --enable-tcg-interpreter \ + --disable-vnc-tls \ + --disable-vnc-sasl \ + --disable-xen +doc MAINTAINERS +changelog Changelog +make V="1" +make install DESTDIR="${PKG}/" +install.dir ${PKG}${SYS_DIR[udevrules]} +install.dat 65-kvm.rules ${PKG}${SYS_DIR[udevrules]} +} -- cgit v1.2.3-70-g09d2