wok annotate mlvpn/receipt @ rev 23513
busybox: musl & diet may fail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 11:53:42 2020 +0200 (2020-04-06) |
parents | 8aea70996e66 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@16667 | 1 # SliTaz package receipt. |
pascal@16667 | 2 |
pascal@16667 | 3 PACKAGE="mlvpn" |
Hans-G?nter@23182 | 4 VERSION="2.3.4" |
pascal@16667 | 5 CATEGORY="network" |
Hans-G?nter@23182 | 6 SHORT_DESC="Multi-Link Virtual Public Network." |
pascal@16667 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16667 | 8 LICENSE="BSD" |
pascal@16667 | 9 WEB_SITE="https://zehome.github.io/MLVPN/" |
Hans-G?nter@23182 | 10 |
pascal@16667 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16667 | 12 WGET_URL="https://github.com/zehome/MLVPN/archive/$VERSION.tar.gz" |
pascal@16667 | 13 |
Hans-G?nter@23182 | 14 DEPENDS="libpcap libsodium" |
Hans-G?nter@23182 | 15 BUILD_DEPENDS="autoconf automake libev-dev libpcap-dev libsodium-dev" |
pascal@16667 | 16 |
pascal@16667 | 17 # Rules to configure and make the package. |
pascal@16667 | 18 compile_rules() |
pascal@16667 | 19 { |
Hans-G?nter@23182 | 20 ./autogen.sh && |
Hans-G?nter@23182 | 21 ./configure \ |
Hans-G?nter@23182 | 22 --prefix=/usr \ |
pascal@16667 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@23182 | 24 make && |
Hans-G?nter@23182 | 25 make install |
pascal@16667 | 26 } |
pascal@16667 | 27 |
pascal@16667 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16667 | 29 genpkg_rules() |
pascal@16667 | 30 { |
pascal@16667 | 31 mkdir -p $fs/usr |
Hans-G?nter@23182 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@16667 | 33 } |