Tomáš Pecka | c589750 | 2020-07-13 16:49:28 +0200 | [diff] [blame] | 1 | VELIA_VERSION = master |
| 2 | VELIA_SITE = https://gerrit.cesnet.cz/CzechLight/velia |
| 3 | VELIA_SITE_METHOD = git |
| 4 | VELIA_INSTALL_STAGING = NO |
Jan Kundrát | e950cf7 | 2024-09-06 17:46:11 +0200 | [diff] [blame] | 5 | VELIA_DEPENDENCIES = docopt-cpp spdlog boost sdbus-cpp systemd sysrepo-cpp libnl json-for-modern-cpp date |
Tomáš Pecka | c589750 | 2020-07-13 16:49:28 +0200 | [diff] [blame] | 6 | VELIA_LICENSE = Apache-2.0 |
| 7 | VELIA_LICENSE_FILES = LICENSE.md |
| 8 | |
Jan Kundrát | a42931c | 2021-02-12 17:00:37 +0100 | [diff] [blame] | 9 | VELIA_CONF_OPTS = \ |
| 10 | -DTHREADS_PTHREAD_ARG:STRING=-pthread \ |
Jan Kundrát | 7171a0a | 2021-02-18 21:49:37 +0100 | [diff] [blame] | 11 | -DNFT_EXECUTABLE=/usr/sbin/nft \ |
Jan Kundrát | a42931c | 2021-02-12 17:00:37 +0100 | [diff] [blame] | 12 | -DSSH_KEYGEN_EXECUTABLE=/usr/bin/ssh-keygen \ |
Václav Kubernát | 5bd567a | 2021-04-14 04:15:02 +0200 | [diff] [blame] | 13 | -DCHPASSWD_EXECUTABLE=/usr/sbin/chpasswd \ |
Tomáš Pecka | 73720dd | 2021-02-16 20:06:02 +0100 | [diff] [blame] | 14 | -DSYSTEMCTL_EXECUTABLE=/usr/bin/systemctl \ |
Jan Kundrát | 7171a0a | 2021-02-18 21:49:37 +0100 | [diff] [blame] | 15 | -DNETWORKCTL_EXECUTABLE=/usr/bin/networkctl \ |
| 16 | -DHOSTNAMECTL_EXECUTABLE=/usr/bin/hostnamectl |
Jan Kundrát | a42931c | 2021-02-12 17:00:37 +0100 | [diff] [blame] | 17 | |
Tomáš Pecka | c589750 | 2020-07-13 16:49:28 +0200 | [diff] [blame] | 18 | define VELIA_INSTALL_INIT_SYSTEMD |
Jan Kundrát | e8a9fa7 | 2024-09-05 17:04:53 +0200 | [diff] [blame] | 19 | $(INSTALL) -D -m 0644 \ |
| 20 | $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/max_match_rules.conf \ |
| 21 | $(TARGET_DIR)/usr/share/dbus-1/system.d/ |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 22 | |
Jan Kundrát | e8a9fa7 | 2024-09-05 17:04:53 +0200 | [diff] [blame] | 23 | $(INSTALL) -D -m 0644 -t $(TARGET_DIR)/usr/lib/systemd/system/ \ |
| 24 | $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/velia-health.service \ |
Jan Kundrát | e8a9fa7 | 2024-09-05 17:04:53 +0200 | [diff] [blame] | 25 | $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/velia-hardware-g2.service \ |
| 26 | $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/velia-system.service \ |
| 27 | $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/velia-firewall.service |
Tomáš Pecka | c589750 | 2020-07-13 16:49:28 +0200 | [diff] [blame] | 28 | endef |
| 29 | |
| 30 | $(eval $(cmake-package)) |