23 lines
726 B
Bash
23 lines
726 B
Bash
# Template file for 'glider'
|
|
pkgname=glider
|
|
version=0.9.2
|
|
revision=1
|
|
build_style=go
|
|
go_import_path=github.com/nadoo/glider
|
|
hostmakedepends="git"
|
|
short_desc="Forward proxy with multiple protocols support"
|
|
maintainer="whoami <whoami@systemli.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/nadoo/glider"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=4ad3487abc6d6876c6478e7ff16948b9bd324c0f2b81d15d15d69153c70d368d
|
|
conf_files="/etc/glider/config /etc/glider/rules.d/*"
|
|
|
|
post_install() {
|
|
vmkdir etc/glider/rules.d
|
|
vmkdir usr/share/examples/glider
|
|
vcopy "config/examples/*" usr/share/examples/glider
|
|
vcopy config/glider.conf.example etc/glider/config
|
|
vcopy config/rules.d etc/glider
|
|
vsv glider
|
|
}
|