wok-next annotate 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 |
rev | line source |
---|---|
pascal@4918 | 1 # SliTaz package receipt. |
pascal@4918 | 2 |
pascal@4918 | 3 PACKAGE="cloudvpn" |
pascal@4918 | 4 VERSION="1.99.8" |
pascal@4918 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="Mesh-networked Virtual Private Network" |
pascal@4918 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL3" |
al@20906 | 9 WEB_SITE="http://freshmeat.sourceforge.net/projects/cloudvpn" |
al@20906 | 10 #WEB_SITE="https://github.com/exaexa/cloudvpn" |
al@21020 | 11 |
al@21020 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20906 | 13 WGET_URL="http://dev.e-x-a.org/attachments/download/1/$TARBALL" # FIXME |
pascal@15579 | 14 |
pascal@19935 | 15 BUILD_DEPENDS="gnutls-dev zlib-dev automake libgcrypt-dev" |
pascal@4918 | 16 |
al@21020 | 17 compile_rules() { |
pascal@19935 | 18 sed -i 's/"poll.h"/&\n#include <unistd.h>/' common/poll.cpp |
al@21020 | 19 |
pascal@4918 | 20 ./autogen.sh |
al@21020 | 21 ./configure $CONFIGURE_ARGS && |
pascal@4918 | 22 make && |
al@21020 | 23 make DESTDIR=$install install |
pascal@4918 | 24 } |
pascal@4918 | 25 |
al@21020 | 26 genpkg_rules() { |
pascal@4918 | 27 mkdir -p $fs/usr |
pascal@15579 | 28 cp -a $install/usr/bin $fs/usr |
al@21020 | 29 DEPENDS="gcc-lib-base gnutls zlib libtasn1" |
al@21020 | 30 TAGS="vpn tunnel" |
pascal@4918 | 31 } |