mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
7fbb276718
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Armin Kuster <akuster808@gmail.com>
27 lines
682 B
BlitzBasic
27 lines
682 B
BlitzBasic
require wireguard.inc
|
|
|
|
SRCREV = "622408872fd6f3a58e98e88d39d30e98968314fa"
|
|
SRC_URI = "git://git.zx2c4.com/wireguard-tools;branch=master"
|
|
|
|
inherit bash-completion systemd pkgconfig
|
|
|
|
DEPENDS += "libmnl"
|
|
|
|
do_install () {
|
|
oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
|
|
SYSTEMDUNITDIR="${systemd_system_unitdir}" \
|
|
WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \
|
|
WITH_BASHCOMPLETION=yes \
|
|
WITH_WGQUICK=yes \
|
|
install
|
|
}
|
|
|
|
FILES_${PN} = " \
|
|
${sysconfdir} \
|
|
${systemd_system_unitdir} \
|
|
${bindir} \
|
|
"
|
|
|
|
RDEPENDS_${PN} = "bash"
|
|
RRECOMMENDS_${PN} = "kernel-module-wireguard"
|