wok view wireguard-tools/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | 511d41fb7f76 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="wireguard-tools"
4 VERSION="1.0.20210914"
5 CATEGORY="base-system"
6 MAINTAINER="pascal.bellard@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="Tools for configuring WireGuard VPN."
9 WEB_SITE="https://www.wireguard.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="https://git.zx2c4.com/$PACKAGE/snapshot/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://git.zx2c4.com/wireguard-tools/ 2>/dev/null | \
20 sed '/tag\/.h=/!d;s|.*h=v||;s|.>.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd src &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }