milis/talimatname/genel/m/mosquitto/talimat

27 lines
699 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: MQTT protokolünün 3.1 ve 3.1.1 sürümleri için bir sunucunun açık kaynaklı bir uygulamasıdır.
# URL: http://mosquitto.org/
# Paketçi: Cihan_Alkan
# Gerekler: mercurial python docbook-xsl c-ares libwebsockets
# Grup: ağ kütüphane
isim=mosquitto
surum=1.4.14
devir=1
kaynak=(https://mosquitto.org/files/source/$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
# FIX upstream by making SBINDIR=foo or use CMAKE
sed -i 's|/sbin|/bin|g' src/Makefile
make WITH_WEBSOCKETS=yes
make prefix=/usr DESTDIR="$PKG" install
# Shipped in git.
install -Dm644 LICENSE.txt "$PKG/usr/share/licenses/$isim/LICENSE"
mv "$PKG/etc/$isim/$isim.conf.example" "$PKG/etc/$isim/$isim.conf"
}