mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 03:46:19 +00:00
46bf4c15a7
- libfastjson: update to 1.2304.0 - rsyslog: update to 8.2308.0
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="rsyslog"
|
|
PKG_VERSION="8.2308.0"
|
|
PKG_SHA256="02086b9121e872cea69e5d0f6c8e2d8ebff33234b3cad5503665378d3af2e3c9"
|
|
PKG_REV="1"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://github.com/rsyslog"
|
|
PKG_URL="https://www.rsyslog.com/files/download/rsyslog/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain curl libestr libfastjson libgcrypt liblogging liblognorm librelp util-linux zlib"
|
|
PKG_SECTION="service"
|
|
PKG_SHORTDESC="Rsyslog: a rocket-fast system for log processing."
|
|
PKG_LONGDESC="Rsyslog (${PKG_VERSION}) offers high-performance, great security features and a modular design."
|
|
PKG_BUILD_FLAGS="-sysroot"
|
|
|
|
PKG_IS_ADDON="yes"
|
|
PKG_ADDON_NAME="Rsyslog"
|
|
PKG_ADDON_TYPE="xbmc.service"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-default-tests \
|
|
--enable-imfile \
|
|
--enable-imjournal \
|
|
--enable-relp \
|
|
--enable-omjournal \
|
|
ac_cv_func_malloc_0_nonnull=yes \
|
|
ac_cv_func_realloc_0_nonnull=yes"
|
|
|
|
export LIBGCRYPT_CONFIG="${SYSROOT_PREFIX}/usr/bin/libgcrypt-config"
|
|
|
|
pre_configure_target() {
|
|
CFLAGS+=" -fcommon"
|
|
}
|
|
|
|
post_configure_target() {
|
|
libtool_remove_rpath libtool
|
|
}
|
|
|
|
addon() {
|
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
|
cp ${PKG_INSTALL}/usr/sbin/rsyslogd \
|
|
${ADDON_BUILD}/${PKG_ADDON_ID}/bin/
|
|
|
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/rsyslog
|
|
for l in $(find ${PKG_INSTALL}/usr/lib -name *.so)
|
|
do
|
|
cp ${l} ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/rsyslog/
|
|
done
|
|
}
|