aboutsummaryrefslogtreecommitdiff
path: root/package/librelp/librelp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/librelp/librelp.mk')
-rw-r--r--package/librelp/librelp.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/librelp/librelp.mk b/package/librelp/librelp.mk
new file mode 100644
index 0000000000..2b8a53e833
--- /dev/null
+++ b/package/librelp/librelp.mk
@@ -0,0 +1,27 @@
+################################################################################
+#
+# librelp
+#
+################################################################################
+
+LIBRELP_VERSION = 1.9.0
+LIBRELP_SITE = http://download.rsyslog.com/librelp
+LIBRELP_LICENSE = GPL-3.0+
+LIBRELP_LICENSE_FILES = COPYING
+LIBRELP_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+LIBRELP_DEPENDENCIES += gnutls host-pkgconf
+LIBRELP_CONF_OPTS += --enable-tls
+else
+LIBRELP_CONF_OPTS += --disable-tls
+endif
+
+ifeq ($(BR2_PACKAGE_HAS_OPENSSL),y)
+LIBRELP_DEPENDENCIES += openssl host-pkgconf
+LIBRELP_CONF_OPTS += --enable-tls-openssl
+else
+LIBRELP_CONF_OPTS += --disable-tls-openssl
+endif
+
+$(eval $(autotools-package))