package/ngircd: add optional dependency to openssl
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 13 Sep 2017 12:29:55 +0000 (14:29 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 24 Sep 2017 11:46:20 +0000 (13:46 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/ngircd/ngircd.mk

index 5f03b66001f59ea9d94605f466b45e72724e02c1..2ab9187c8e09a0fc9a5215051946d9120058436e 100644 (file)
@@ -11,4 +11,11 @@ NGIRCD_DEPENDENCIES = zlib
 NGIRCD_LICENSE = GPL-2.0+
 NGIRCD_LICENSE_FILES = COPYING
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+NGIRCD_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
+NGIRCD_DEPENDENCIES += openssl
+else
+NGIRCD_CONF_OPTS += --without-openssl
+endif
+
 $(eval $(autotools-package))