mosquitto-php

This commit is contained in:
milisbir 2018-01-03 16:25:40 +02:00
parent 37a1ea0f2b
commit 2d7e259138
1 changed files with 28 additions and 0 deletions

View File

@ -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
}