summaryrefslogtreecommitdiffstats
path: root/package/keepalived/keepalived.mk
diff options
context:
space:
mode:
authorIlias Apalodimas <apalos@gmail.com>2017-02-15 10:38:52 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-20 22:44:08 +0100
commit9a7ac39605e1bf416db033b009e6c09f54f44fdf (patch)
treed521c3716691c804c41d95e8ed0e90d580afabcb /package/keepalived/keepalived.mk
parent0c05b2f6b731ca802f6c7a6fc5fd39693793e48d (diff)
downloadbuildroot-9a7ac39605e1bf416db033b009e6c09f54f44fdf.tar.gz
buildroot-9a7ac39605e1bf416db033b009e6c09f54f44fdf.zip
keepalived: new package
Signed-off-by: Ilias Apalodimas <apalos@gmail.com> [Thomas: - rewrap Config.in help text - add dependency on !BR2_STATIC_LIBS since the code uses libdl.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/keepalived/keepalived.mk')
-rw-r--r--package/keepalived/keepalived.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/keepalived/keepalived.mk b/package/keepalived/keepalived.mk
new file mode 100644
index 0000000000..da5b5d81dd
--- /dev/null
+++ b/package/keepalived/keepalived.mk
@@ -0,0 +1,32 @@
+################################################################################
+#
+# keepalived
+#
+################################################################################
+
+KEEPALIVED_VERSION = 1.3.2
+KEEPALIVED_SITE = http://www.keepalived.org/software
+KEEPALIVED_DEPENDENCIES = host-pkgconf openssl popt
+KEEPALIVED_LICENSE = GPLv2+
+KEEPALIVED_LICENSE_FILES = COPYING
+KEEPALIVED_CONF_OPTS += --disable-dbus
+
+ifeq ($(BR2_PACKAGE_LIBNL),y)
+KEEPALIVED_DEPENDENCIES += libnfnetlink
+endif
+
+ifeq ($(BR2_PACKAGE_IPSET),y)
+KEEPALIVED_DEPENDENCIES += ipset
+KEEPALIVED_CONF_OPTS += --enable-libipset
+else
+KEEPALIVED_CONF_OPTS += --disable-libipset
+endif
+
+ifeq ($(BR2_PACKAGE_IPTABLES),y)
+KEEPALIVED_DEPENDENCIES += iptables
+KEEPALIVED_CONF_OPTS += --enable-libiptc
+else
+KEEPALIVED_CONF_OPTS += --disable-libiptc
+endif
+
+$(eval $(autotools-package))
OpenPOWER on IntegriCloud