void-packages/srcpkgs/vpn-ws/template

27 lines
751 B
Bash

# Template file for 'vpn-ws'
pkgname=vpn-ws
version=0.2
revision=6
build_style=gnu-makefile
make_use_env=yes
makedepends="libressl-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"
# 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
}