wok-next diff cloudvpn/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children
line diff
     1.1 --- a/cloudvpn/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/cloudvpn/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,33 +3,29 @@
     1.4  PACKAGE="cloudvpn"
     1.5  VERSION="1.99.8"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Mesh-networked Virtual Private Network."
     1.8 +SHORT_DESC="Mesh-networked Virtual Private Network"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL3"
    1.11 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://freshmeat.sourceforge.net/projects/cloudvpn"
    1.13  #WEB_SITE="https://github.com/exaexa/cloudvpn"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16  WGET_URL="http://dev.e-x-a.org/attachments/download/1/$TARBALL" # FIXME
    1.17 -TAGS="vpn tunnel"
    1.18  
    1.19  BUILD_DEPENDS="gnutls-dev zlib-dev automake libgcrypt-dev"
    1.20 -DEPENDS="gcc-lib-base gnutls zlib libtasn1"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	sed -i 's/"poll.h"/&\n#include <unistd.h>/' common/poll.cpp
    1.27 +
    1.28  	./autogen.sh
    1.29 -	./configure \
    1.30 -		$CONFIGURE_ARGS &&
    1.31 +	./configure $CONFIGURE_ARGS &&
    1.32  	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	make DESTDIR=$install install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 +genpkg_rules() {
    1.41  	mkdir -p $fs/usr
    1.42  	cp -a $install/usr/bin $fs/usr
    1.43 +	DEPENDS="gcc-lib-base gnutls zlib libtasn1"
    1.44 +	TAGS="vpn tunnel"
    1.45  }
    1.46 -