milis/talimatname/genel/l/logmein-hamachi/talimat

32 lines
897 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Bir vpn hizmeti.
2017-06-01 17:37:48 +02:00
# URL: https://www.vpn.net/linux
2017-10-27 20:46:27 +02:00
# Paketçi: kadanur
# Gerekler:
2017-06-01 17:37:48 +02:00
name=logmein-hamachi
version=2.1.0.174
2017-06-01 17:41:09 +02:00
release=1
2017-06-01 17:37:48 +02:00
source=(https://www.vpn.net/installers/$name-$version-x64.tgz
hamachi.servis)
2017-10-27 23:59:41 +02:00
derle() {
2017-06-01 17:37:48 +02:00
2017-06-01 17:42:26 +02:00
cd "${SRC}"/logmein-hamachi-2.1.0.174-x64
2017-06-01 17:37:48 +02:00
# Directories
install -d "${PKG}"/usr/bin
install -d "${PKG}"/opt/${name}/bin
install -d "${PKG}"/usr/share/licenses/${name}
# Files
install -m 755 hamachid "${PKG}"/opt/${name}/bin
install -m 755 dnsup "${PKG}"/opt/${name}/bin
install -m 755 dnsdown "${PKG}"/opt/${name}/bin
install -m 755 uninstall.sh "${PKG}"/opt/${name}
install -m 444 README "${PKG}"/opt/${name}
install -m 444 LICENSE "${PKG}"/opt/${name}
install -m 444 CHANGES "${PKG}"/opt/${name}
ln -sf "/opt/$name/bin/hamachid" "${PKG}"/usr/bin/hamachi
install -d $PKG/etc/rc.d/init.d
cp $SRC/hamachi.servis $PKG/etc/rc.d/init.d/hamachid
}