Skip to content
Snippets Groups Projects
Commit 565b22f4 authored by Liz de Sartiges's avatar Liz de Sartiges Committed by Steve Lhomme
Browse files

contrib: basu: do not build basu on system that provide either libelogind or libsystemd by default

parent d9c9482b
No related branches found
No related tags found
Loading
Pipeline #264752 failed with stages
in 1 hour, 9 minutes, and 23 seconds
......@@ -2,6 +2,10 @@
BASU_VERSION := 0.2.0
BASU_URL := http://git.sr.ht/~emersion/basu/refs/download/v$(BASU_VERSION)/basu-$(BASU_VERSION).tar.gz
ifneq ($(call need_pkg,"libelogind"),)
ifneq ($(call need_pkg,"libsystemd"),)
ifdef HAVE_LINUX
ifndef HAVE_ANDROID
PKGS += basu
......@@ -14,6 +18,13 @@ PKGS += basu
endif
endif
endif # libsystemd
endif # libelogind
ifeq ($(call need_pkg,"basu"),)
PKGS_FOUND += basu
endif
$(TARBALLS)/basu-$(BASU_VERSION).tar.gz:
$(call download_pkg,$(BASU_URL),basu)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment