void-packages/srcpkgs/vpn-ws/template

28 lines
788 B
Bash

# Template file for 'vpn-ws'
pkgname=vpn-ws
version=0.2
revision=8
build_style=gnu-makefile
make_use_env=yes
makedepends="openssl-devel"
short_desc="VPN system over webhooks"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MIT"
homepage="https://github.com/unbit/vpn-ws"
distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
CFLAGS+=" -Wno-stringop-truncation -fcommon -Wno-deprecated-declarations"
# no install target in the Makefile
do_install() {
vbin vpn-ws
vbin vpn-ws-client
vdoc README.md
vdoc tutorials/ubuntu_trusty_nginx_bridge_client_certificates.md
# not example config, but close enough
vsconf clients/vpn.pl
vsconf clients/vpn_linux_tornado.py
vlicense LICENSE
}