void-packages/srcpkgs/3proxy/template
maxice8 a301ae2289 3proxy: update to 0.8.12.
Closes #13602.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-19 08:40:04 +02:00

24 lines
598 B
Bash

# Template file for '3proxy'
pkgname=3proxy
version=0.8.12
revision=1
distfiles="https://github.com/z3APA3A/3proxy/archive/$version.tar.gz"
short_desc="3proxy tiny proxy server"
maintainer="iaroki <iaroki@protonmail.com>"
license="BSD-3-Clause"
homepage="https://3proxy.ru"
checksum=c2ad3798b4f0df06cfcc7b49f658304e451d60e4834e2705ef83ddb85a03f849
do_build() {
make -f Makefile.Linux CC=$CC LN=$CC
}
do_install() {
make -f Makefile.Linux prefix=/usr ETCDIR=/etc/3proxy DESTDIR=$DESTDIR install
}
post_install() {
vinstall cfg/3proxy.cfg.sample 644 /etc/3proxy
vlicense copying
vsv 3proxy
}