void-packages/srcpkgs/vpn-ws/template
2018-11-05 13:00:44 +01:00

27 lines
750 B
Bash

# Template file for 'vpn-ws'
pkgname=vpn-ws
version=0.2
revision=4
build_style=gnu-makefile
make_use_env=yes
makedepends="libressl-devel"
short_desc="VPN system over webhooks"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
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
}