forked from brl/citadel
28 lines
557 B
BlitzBasic
28 lines
557 B
BlitzBasic
require wireguard.inc
|
|
|
|
inherit bash-completion systemd pkgconfig
|
|
|
|
DEPENDS = "libmnl"
|
|
|
|
do_compile_prepend () {
|
|
cd ${S}
|
|
}
|
|
|
|
do_install () {
|
|
cd ${S}
|
|
oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
|
|
SYSTEMDUNITDIR="${systemd_unitdir}" \
|
|
WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \
|
|
WITH_BASHCOMPLETION=yes \
|
|
WITH_WGQUICK=yes \
|
|
install
|
|
}
|
|
|
|
FILES_${PN} = " \
|
|
${sysconfdir} \
|
|
${systemd_unitdir} \
|
|
${bindir} \
|
|
"
|
|
|
|
RDEPENDS_${PN} = "bash"
|