2017-12-20 19:29:16 +01:00
|
|
|
# Template file for 'tuntox'
|
|
|
|
pkgname=tuntox
|
|
|
|
version=0.0.8
|
2018-03-01 04:41:25 +01:00
|
|
|
revision=2
|
2017-12-20 19:29:16 +01:00
|
|
|
build_style=gnu-makefile
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="toxcore-devel libevent-devel libsodium-devel"
|
|
|
|
make_build_args="tuntox_nostatic"
|
|
|
|
short_desc="Tunnel TCP connections over the Tox protocol"
|
|
|
|
maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
|
2018-03-01 04:41:25 +01:00
|
|
|
license="GPL-3.0-or-later"
|
2017-12-20 19:29:16 +01:00
|
|
|
homepage="https://github.com/gjedeer/tuntox"
|
|
|
|
distfiles="https://github.com/gjedeer/tuntox/archive/${version}.tar.gz"
|
|
|
|
checksum=86e8c45d712b4327ef02d32474f5748e2244e6c38ae8c20ed211af3808328c9b
|
|
|
|
|
|
|
|
system_accounts="tuntox"
|
|
|
|
make_dirs="/etc/tuntox 0700 tuntox tuntox"
|
|
|
|
|
2018-03-01 04:41:25 +01:00
|
|
|
pre_build() {
|
|
|
|
# remove this if a new release is made and DEPS= on Makefile is changed
|
|
|
|
# to toxcore, toxcore renamed libtoxcore to toxcore
|
|
|
|
sed -i 's|DEPS=libtoxcore|DEPS=toxcore|g' Makefile
|
|
|
|
}
|
|
|
|
|
2017-12-20 19:29:16 +01:00
|
|
|
do_install() {
|
|
|
|
vbin tuntox_nostatic tuntox
|
|
|
|
vbin scripts/tokssh
|
|
|
|
vsv tuntox
|
|
|
|
}
|