mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-05 02:36:45 +00:00
[NEW] packages for Debian Bullseye (11)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#(@)config.mk for Debian 8 (x86_64)
|
||||
#(@)config.mk for Debian 8-11 (x86_64, aarch64, armhf)
|
||||
|
||||
INSTALLDIR = /usr/
|
||||
CONFIGFILE = /etc/default/ot-recorder
|
||||
@@ -19,8 +19,8 @@ JSON_INDENT ?= no
|
||||
MOSQUITTO_INC = -I/usr/include
|
||||
MOSQUITTO_LIB = -L/usr/lib
|
||||
MORELIBS = # -lssl
|
||||
LUA_CFLAGS = `pkg-config --cflags lua5.2`
|
||||
LUA_LIBS = `pkg-config --libs lua5.2`
|
||||
LUA_CFLAGS = `pkg-config --cflags lua`
|
||||
LUA_LIBS = `pkg-config --libs lua`
|
||||
SODIUM_CFLAGS = `pkg-config --cflags libsodium`
|
||||
SODIUM_LIBS = `pkg-config --libs libsodium`
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ rm -f "${debfile}"
|
||||
|
||||
libcurl='libcurl3'
|
||||
libsodium='libsodium13'
|
||||
liblua='liblua5.2-0'
|
||||
case $(cat /etc/debian_version) in
|
||||
8.8) ;;
|
||||
9.*) libsodium="libsodium18" ;;
|
||||
@@ -31,6 +32,11 @@ case $(cat /etc/debian_version) in
|
||||
libsodium="libsodium23"
|
||||
libcurl="libcurl3-gnutls"
|
||||
;;
|
||||
11.*)
|
||||
libsodium="libsodium23"
|
||||
libcurl="libcurl4"
|
||||
liblua="liblua5.4-0"
|
||||
;;
|
||||
esac
|
||||
|
||||
fpm -s dir \
|
||||
@@ -47,7 +53,7 @@ fpm -s dir \
|
||||
-p ${debfile} \
|
||||
-d "${libcurl}" \
|
||||
-d "libmosquitto1" \
|
||||
-d "liblua5.2-0" \
|
||||
-d "${liblua}" \
|
||||
-d "libconfig9" \
|
||||
-d "${libsodium}" \
|
||||
-d "liblmdb0" \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#(@)config.mk for Debian 8 (x86_64)
|
||||
#(@)config.mk for Debian 8-10 (x86_64)
|
||||
|
||||
CC = arm-linux-gnueabihf-gcc
|
||||
INSTALLDIR = /usr/
|
||||
|
||||
Reference in New Issue
Block a user