milis/talimatname/genel/m/mosquitto/talimat

26 lines
610 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: Açık Kaynaklı MQTT v3.1 Broker'ı
# URL: http://mosquitto.org/
# Paketçi: Cihan_Alkan
# Gerekler: mercurial python docbook-xsl c-ares libwebsockets
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"
}