wok-6.x view mlvpn/receipt @ rev 24136

packaged sc-im 0.8.2 really
author Hans-G?nter Theisgen
date Sun Nov 07 07:21:12 2021 +0100 (2021-11-07)
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 }