summaryrefslogtreecommitdiff
path: root/qemu-agent/Pkgfile
blob: 83d62e6367b7d6b9eddbbde57bce590ea2d52cf1 (plain)
    1 # Description: Guest agent for qemu virtual guests
    2 # URL:         http://www.qemu-project.org/
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Depends on:  libsdl glib
    5  
    6 name=qemu-agent
    7 version=2.8.0
    8 release=1
    9 source=(http://wiki.qemu-project.org/download/qemu-$version.tar.bz2 qemu-agent)
   10 
   11 build() {
   12   cd qemu-$version
   13   ./configure --prefix=/usr \
   14       --cc="${CC:=gcc}" \
   15       --host-cc="${CC:=gcc}" \
   16       --sysconfdir=/etc \
   17       --disable-docs \
   18       --libexecdir=/usr/lib/qemu \
   19       --disable-gtk \
   20       --target-list=x86_64-linux-user,i386-linux-user,i386-softmmu,x86_64-softmmu \
   21       --enable-guest-agent
   22 
   23   # fix include issues with nspr
   24   make ${MAKEFLAGS:=} qemu-ga
   25 
   26   install -D -m 755 qemu-ga $PKG/usr/bin/qemu-ga
   27   install -d -m 755 $PKG/etc/qemu
   28   install scripts/qemu-guest-agent/fsfreeze-hook $PKG/etc/qemu
   29   cp -a scripts/qemu-guest-agent/fsfreeze-hook.d $PKG/etc/qemu
   30   install -D -m 755 $SRC/qemu-agent $PKG/etc/rc.d/qemu-agent
   31   install -d -m 755 $PKG/var/run/qemu-ga
   32 }

Generated by cgit