aboutsummaryrefslogtreecommitdiff
path: root/package/open-lldp/open-lldp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/open-lldp/open-lldp.mk')
-rw-r--r--package/open-lldp/open-lldp.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/package/open-lldp/open-lldp.mk b/package/open-lldp/open-lldp.mk
index efaaa7bdfe..d42dbcc5c3 100644
--- a/package/open-lldp/open-lldp.mk
+++ b/package/open-lldp/open-lldp.mk
@@ -4,13 +4,18 @@
#
################################################################################
-OPEN_LLDP_VERSION = b71bfb87fefb31c4b1a6a7ae351791c90966c3a8
-OPEN_LLDP_SITE = $(call github,intel,openlldp,$(OPEN_LLDP_VERSION))
+OPEN_LLDP_VERSION = 1.1
+OPEN_LLDP_SITE = $(call github,intel,openlldp,v$(OPEN_LLDP_VERSION))
OPEN_LLDP_DEPENDENCIES = readline libnl libconfig host-pkgconf
OPEN_LLDP_LICENSE = GPL-2.0
OPEN_LLDP_LICENSE_FILES = COPYING
-# Fetching from git, need to generate configure/Makefile.in
+# Fetching from git
OPEN_LLDP_AUTORECONF = YES
+ifeq ($(BR2_INIT_SYSTEMD),y)
+OPEN_LLDP_DEPENDENCIES += systemd
+OPEN_LLDP_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
+endif
+
$(eval $(autotools-package))