mirror of
https://github.com/owntracks/recorder.git
synced 2026-02-13 20:49:51 +00:00
36 lines
872 B
Makefile
36 lines
872 B
Makefile
#(@)config.mk for Centos 7 (x86_64)
|
|
|
|
INSTALLDIR = /usr/
|
|
CONFIGFILE = /etc/default/ot-recorder
|
|
FREEBSD ?= no
|
|
|
|
WITH_MQTT ?= yes
|
|
WITH_HTTP ?= yes
|
|
WITH_TOURS ?= yes
|
|
WITH_LUA ?= yes
|
|
WITH_PING ?= yes
|
|
WITH_KILL ?= yes
|
|
WITH_ENCRYPT ?= yes
|
|
|
|
STORAGEDEFAULT = /var/spool/owntracks/recorder/store
|
|
DOCROOT = /var/spool/owntracks/recorder/htdocs
|
|
GHASHPREC = 7
|
|
JSON_INDENT ?= no
|
|
MOSQUITTO_CFLAGS =
|
|
MOSQUITTO_LIBS = -lmosquitto
|
|
LUA_CFLAGS = `pkg-config --cflags lua`
|
|
LUA_LIBS = `pkg-config --libs lua`
|
|
|
|
GEOCODE_TIMEOUT = 4000
|
|
|
|
# Requires statically built libsodium:
|
|
#
|
|
# wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.8.tar.gz
|
|
# tar xvzf libsodium-1.0.8.tar.gz
|
|
# cd libsodium*
|
|
# ./configure --prefix=/usr/local --enable-minimal --enable-static --disable-shared
|
|
# make install
|
|
|
|
SODIUM_CFLAGS = -I/usr/local/include
|
|
SODIUM_LIBS = -L /usr/local/lib -lsodium
|