wok view mlvpn/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents f873d435f3fa
children 78e3410d2fa2
line source
1 # SliTaz package receipt.
3 PACKAGE="mlvpn"
4 VERSION="2.3.4"
5 CATEGORY="network"
6 SHORT_DESC="Multi-Link Virtual Public Network."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://zehome.github.io/MLVPN/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/zehome/MLVPN/archive/$VERSION.tar.gz"
14 DEPENDS="libpcap libsodium"
15 BUILD_DEPENDS="autoconf automake libev-dev libpcap-dev libsodium-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 }