milis/talimatname/genel/tuntox/talimat

23 lines
459 B
Plaintext
Raw Normal View History

2016-10-15 22:37:33 +02:00
# Description: Tunnel TCP connections over the Tox protocol
# URL: http://tuntox.pl/
# Packager: milisarge
# Depends on: cscope toxcore
name=tuntox
version=git
release=1
source=(shared-build.patch)
build() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$name.git ];then
git clone https://github.com/gjedeer/$name.git
else
cd $DERLEME_KAYNAKDIZIN/$name.git
git pull
cd -
fi
cd $name
patch -p1 -i ../shared-build.patch
make
install -Dm755 tuntox "$PKG/usr/bin/tuntox"
}