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

32 lines
891 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
2017-10-28 14:10:23 +02:00
isim=logmein-hamachi
surum=2.1.0.174
devir=1
kaynak=(https://www.vpn.net/installers/$isim-$surum-x64.tgz
2017-06-01 17:37:48 +02:00
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
2017-10-28 14:10:23 +02:00
install -d "${PKG}"/opt/${isim}/bin
install -d "${PKG}"/usr/share/licenses/${isim}
2017-06-01 17:37:48 +02:00
# Files
2017-10-28 14:10:23 +02:00
install -m 755 hamachid "${PKG}"/opt/${isim}/bin
install -m 755 dnsup "${PKG}"/opt/${isim}/bin
install -m 755 dnsdown "${PKG}"/opt/${isim}/bin
install -m 755 uninstall.sh "${PKG}"/opt/${isim}
install -m 444 README "${PKG}"/opt/${isim}
install -m 444 LICENSE "${PKG}"/opt/${isim}
install -m 444 CHANGES "${PKG}"/opt/${isim}
ln -sf "/opt/$isim/bin/hamachid" "${PKG}"/usr/bin/hamachi
2017-06-01 17:37:48 +02:00
install -d $PKG/etc/rc.d/init.d
cp $SRC/hamachi.servis $PKG/etc/rc.d/init.d/hamachid
}