serenity/Ports/wireguard-tools/package.sh
Linus Groh d099527dbb Ports: Add wireguard-tools
What will it take to port WireGuard to SerenityOS? No idea. But this is
a start :^)
2022-01-10 21:22:41 +01:00

9 lines
457 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=wireguard-tools
version=1.0.20210914
files="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${version}.tar.xz wireguard-tools-${version}.tar.xz 97ff31489217bb265b7ae850d3d0f335ab07d2652ba1feec88b734bc96bd05ac"
auth_type=sha256
makeopts=("--directory=src")
# NOTE: PREFIX extends DESTDIR and therefore must not include $SERENITY_INSTALL_ROOT!
installopts=("--directory=src" "PREFIX=/usr/local")