From 577ef3959d93dbd802c85296bd5256e38714334c Mon Sep 17 00:00:00 2001 From: Zach Dykstra Date: Wed, 25 Sep 2024 09:22:11 -0500 Subject: [PATCH] testing: add Makefile to install Void deps --- testing/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 testing/Makefile diff --git a/testing/Makefile b/testing/Makefile new file mode 100644 index 000000000..995ed1513 --- /dev/null +++ b/testing/Makefile @@ -0,0 +1,18 @@ +.DEFAULT_GOAL := help + +SUDO ?= sudo +INSTALLOPTS ?= -Su + +VOID_PKGS = perl-boolean perl-Sort-Versions lsof yq-go qemu-firmware qemu-img qemu-system-amd64 + +.PHONY: help setup-void clean-void + +help: + @echo "Use \033[94mmake setup-void\033[m to install dependencies on Void Linux." + @echo "Use \033[94mmake clean-void\033[m to remove dependencies on Void Linux." + +setup-void: + @$(SUDO) xbps-install $(INSTALLOPTS) $(VOID_PKGS) + +clean-void: + @$(SUDO) xbps-remove -R $(VOID_PKGS)