#!/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]} }