SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wireguard-tools"

# SliTaz package receipt.

PACKAGE="wireguard-tools"
VERSION="1.0.20210914"
CATEGORY="base-system"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
SHORT_DESC="Tools for configuring WireGuard VPN."
WEB_SITE="https://www.wireguard.com/"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://git.zx2c4.com/$PACKAGE/snapshot/$TARBALL"

DEPENDS=""
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://git.zx2c4.com/wireguard-tools/ 2>/dev/null | \
    sed '/tag\/.h=/!d;s|.*h=v||;s|.>.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd src &&
    make &&
    make DESTDIR=$DESTDIR install
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{    
    mkdir $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)