From 2d7e259138e0999251d892504a8ea134dc2f14e6 Mon Sep 17 00:00:00 2001 From: milisbir Date: Wed, 3 Jan 2018 16:25:40 +0200 Subject: [PATCH] mosquitto-php --- talimatname/genel/m/mosquitto-php/talimat | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 talimatname/genel/m/mosquitto-php/talimat diff --git a/talimatname/genel/m/mosquitto-php/talimat b/talimatname/genel/m/mosquitto-php/talimat new file mode 100644 index 000000000..52ffda562 --- /dev/null +++ b/talimatname/genel/m/mosquitto-php/talimat @@ -0,0 +1,28 @@ +# Tanım: Açık Kaynaklı MQTT v3.1 Broker Php kütüphanesi +# URL: https://github.com/mgdm/Mosquitto-PHP +# Paketçi: Cihan_Alkan +# Gerekler: mosquitto php +# Grup: kütüphane + +isim=mosquitto-php +surum=0.2 +devir=1 + +kaynak=() + +derle() { + if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then + git clone https://github.com/mgdm/Mosquitto-PHP $DERLEME_KAYNAKDIZIN/$isim + else + cd $DERLEME_KAYNAKDIZIN/$isim + git pull + cd - + fi + cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/ + cd $SRC/$isim +phpize +./configure --with-mosquitto=/usr/lib/libmosquitto +make +make INSTALL_ROOT=$PKG install + +}