summaryrefslogtreecommitdiffstats
path: root/core/modules/virt-manager/module.build
blob: 869bc8a5985755a600969900ccabb98c2df6d518 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
fetch_source() {
	autoclone
}

build() {
	local SRCDIR="${MODULE_WORK_DIR}/src/virt-manager"
	local DSTDIR="${MODULE_BUILD_DIR}"
	cde "${SRCDIR}"

	python3 setup.py configure --default-hvs qemu,lxc --default-graphics spice || perror "'setup.py configure' failed."
	python3 setup.py build || perror "'setup.py build' failed."
	python3 setup.py --no-update-icon-cache --no-compile-schemas install --root "${DSTDIR}" --no-compile -O0 || perror "'setup.py install' failed."
}

post_copy() {
	:
}