blob: d1d721a19fce55bf15ecaf212e5150122e92d610 (
plain)
1 # Description: QEMU guest agent
2 # URL: https://www.qemu.org/
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4 # Depends on: glib xorg-libpixman
5
6 name=qemu-guest-agent
7 version=7.2.0
8 release=1
9 source=(https://download.qemu.org/qemu-$version.tar.xz qemu-ga.conf $name.rc)
10
11 build() {
12 cd qemu-$version
13 ./configure --prefix=/usr \
14 --sysconfdir=/etc \
15 --enable-guest-agent \
16 --disable-docs
17 make qemu-ga
18 install -D -o root -g root -m 0755 build/qga/qemu-ga \
19 $PKG/usr/bin/qemu-ga
20 install -dm 0755 $PKG/etc/qemu
21 install -m 0644 scripts/$name/fsfreeze-hook \
22 $PKG/etc/qemu/
23 install -m 0755 $SRC/qemu-ga.conf \
24 $PKG/etc/qemu/
25 install -Dm 0755 $SRC/$name.rc \
26 $PKG/etc/rc.d/$name
27 }
|