1################################################################################ 2# 3# ngircd 4# 5################################################################################ 6 7NGIRCD_VERSION = 26.1 8NGIRCD_SOURCE = ngircd-$(NGIRCD_VERSION).tar.xz 9NGIRCD_SITE = https://arthur.barton.de/pub/ngircd 10NGIRCD_LICENSE = GPL-2.0+ 11NGIRCD_LICENSE_FILES = COPYING 12NGIRCD_CPE_ID_VENDOR = barton 13 14ifeq ($(BR2_PACKAGE_LINUX_PAM),y) 15NGIRCD_CONF_OPTS += --with-pam=$(STAGING_DIR)/usr 16NGIRCD_DEPENDENCIES += linux-pam 17else 18NGIRCD_CONF_OPTS += --without-pam 19endif 20 21ifeq ($(BR2_PACKAGE_OPENSSL),y) 22NGIRCD_CONF_OPTS += --with-openssl 23NGIRCD_DEPENDENCIES += host-pkgconf openssl 24else 25NGIRCD_CONF_OPTS += --without-openssl 26ifeq ($(BR2_PACKAGE_GNUTLS),y) 27NGIRCD_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr 28NGIRCD_DEPENDENCIES += gnutls 29else 30NGIRCD_CONF_OPTS += --without-gnutls 31endif 32endif 33 34ifeq ($(BR2_PACKAGE_ZLIB),y) 35NGIRCD_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr 36NGIRCD_DEPENDENCIES += zlib 37else 38NGIRCD_CONF_OPTS += --without-zlib 39endif 40 41$(eval $(autotools-package)) 42