NEW: WITH_TOURS is configured in by default

This commit is contained in:
Jan-Piet Mens 2022-08-07 17:19:32 +02:00
parent f5015eaa7b
commit 6096911252
6 changed files with 14 additions and 5 deletions

View File

@ -40,7 +40,8 @@ WITH_MQTT ?= yes
WITH_HTTP ?= yes
# Do you want recorder support for shared views? Requires WITH_HTTP
WITH_TOURS ?= no
# also requires -luuid on Linux (see below at MORELIBS)
WITH_TOURS ?= yes
# Do you have Lua libraries installed and want the Lua hook integration?
WITH_LUA ?= no
@ -91,7 +92,10 @@ CONFIGFILE = /etc/default/ot-recorder
# Optionally specify the path to the Mosquitto libs, include here
MOSQUITTO_INC = -I/usr/include
MOSQUITTO_LIB = -L/usr/lib
MORELIBS += # -luuid -lssl
# Debian requires uuid-dev
# RHEL/CentOS needs libuuid-devel
MORELIBS += -luuid # -lssl
# Milliseconds (ms) timeout for reverse geocoding
GEOCODE_TIMEOUT = 4000

View File

@ -6,6 +6,7 @@ FREEBSD ?= no
WITH_MQTT ?= yes
WITH_HTTP ?= yes
WITH_TOURS ?= yes
WITH_LUA ?= yes
WITH_PING ?= yes
WITH_KILL ?= yes
@ -18,7 +19,7 @@ GHASHPREC = 7
JSON_INDENT ?= no
MOSQUITTO_INC = -I/usr/include
MOSQUITTO_LIB = -L/usr/lib
MORELIBS = # -lssl
MORELIBS = -luuid # -lssl
LUA_CFLAGS = `pkg-config --cflags lua`
LUA_LIBS = `pkg-config --libs lua`

View File

@ -35,6 +35,7 @@ fpm -s dir \
-d "lua" \
-d "libconfig" \
-d "lmdb" \
-d "libuuid" \
--config-files etc/default/ot-recorder \
--post-install etc/centos/postinst \
usr var etc

View File

@ -6,6 +6,7 @@ FREEBSD ?= no
WITH_MQTT ?= yes
WITH_HTTP ?= yes
WITH_TOURS ?= yes
WITH_LUA ?= yes
WITH_PING ?= yes
WITH_KILL ?= yes
@ -18,7 +19,7 @@ GHASHPREC = 7
JSON_INDENT ?= no
MOSQUITTO_INC = -I/usr/include
MOSQUITTO_LIB = -L/usr/lib
MORELIBS = # -lssl
MORELIBS = -luuid # -lssl
LUA_CFLAGS = `pkg-config --cflags lua`
LUA_LIBS = `pkg-config --libs lua`
SODIUM_CFLAGS = `pkg-config --cflags libsodium`

View File

@ -57,6 +57,7 @@ fpm -s dir \
-d "libconfig9" \
-d "${libsodium}" \
-d "liblmdb0" \
-d "libuuid1" \
--config-files etc/default/ot-recorder \
--post-install etc/debian/postinst \
usr var etc

View File

@ -7,6 +7,7 @@ FREEBSD ?= no
WITH_MQTT ?= yes
WITH_HTTP ?= yes
WITH_TOURS ?= yes
WITH_LUA ?= yes
WITH_PING ?= yes
WITH_KILL ?= yes
@ -19,7 +20,7 @@ GHASHPREC = 7
JSON_INDENT ?= no
MOSQUITTO_INC = -I/usr/include
MOSQUITTO_LIB = -L/usr/lib
MORELIBS =
MORELIBS = -luuid
LUA_CFLAGS = -I/usr/include/lua5.2 -llua5.2
LUA_LIBS = -L /usr/lib/arm-linux-gnueabihf/