freyanet/Makefile

20 lines
448 B
Makefile
Raw Permalink Normal View History

2024-08-23 15:51:21 +00:00
.PHONY: install alpine openwrt
2023-12-30 20:23:30 +00:00
2024-11-17 04:01:08 +00:00
PREFIX=/usr/local
2023-12-30 20:23:30 +00:00
install:
2024-11-17 04:01:08 +00:00
mkdir -p ${PREFIX}/bin
mkdir -p ${PREFIX}/share/inet2
cp ./bin/* ${PREFIX}/bin
cp ./share/* ${PREFIX}/share/inet2
2023-12-30 20:23:30 +00:00
alpine:
apk add --no-cache wireguard-tools bind-tools bird
cp ./deployments/openrc/inet2.initd /etc/init.d/inet2
rc-update add inet2
2024-08-23 15:51:21 +00:00
openwrt:
opkg install wireguard-tools bind-tools bird2
cp ./deployments/initd/inet2.initd /etc/init.d/inet2
service inet2 enable