void-packages/srcpkgs/vpn-ws/template
2021-03-05 22:07:38 +01:00

27 lines
759 B
Bash

# Template file for 'vpn-ws'
pkgname=vpn-ws
version=0.2
revision=7
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"
# 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
}