blob: 95cdbbc5f8debeb6d5b45c4b4b3456cea22564b5 (
plain)
1 # Description: API for virtualization
2 # URL: https://libvirt.org/
3 # Maintainer: Matt Housh, jaeger at crux dot ninja
4 # Depends on: meson libxml2 libxslt rpcsvc-proto glib gnutls xorg-libpciaccess python3-docutils qemu parted nss yajl
5 # Nice to have: bash-completion
6
7 name=libvirt
8 version=8.10.0
9 release=1
10 source=(https://libvirt.org/sources/$name-$version.tar.xz
11 libvirtd.rc virtlogd.rc libvirtd.conf qemu.conf)
12
13 build() {
14 meson setup $name-$version build \
15 --prefix=/usr \
16 --libexecdir=/usr/lib/$name \
17 --buildtype=plain \
18 -Ddriver_qemu=enabled \
19 -Dqemu_user=libvirt \
20 -Dqemu_group=libvirt \
21 -Dtests=disabled
22 meson compile -C build
23 DESTDIR=$PKG meson install -C build
24
25 install -D -o root -g root -m 0755 $SRC/libvirtd.rc \
26 $PKG/etc/rc.d/libvirtd
27 install -D -o root -g root -m 0755 $SRC/virtlogd.rc \
28 $PKG/etc/rc.d/virtlogd
29
30 install -D -o root -g root -m 0644 $SRC/libvirtd.conf \
31 $PKG/etc/libvirt/libvirtd.conf
32 install -D -o root -g root -m 0644 $SRC/qemu.conf \
33 $PKG/etc/libvirt/qemu.conf
34
35 rm -r $PKG/usr/share/locale
36 }
|