aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
904 B
Makefile
36 lines
904 B
Makefile
################################################################################
|
|
#
|
|
# pure-ftpd
|
|
#
|
|
################################################################################
|
|
|
|
PURE_FTPD_VERSION = 1.0.36
|
|
PURE_FTPD_SITE = http://download.pureftpd.org/pub/pure-ftpd/releases
|
|
PURE_FTPD_LICENSE = ISC
|
|
PURE_FTPD_LICENSE_FILES = COPYING
|
|
PURE_FTPD_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
PURE_FTPD_CONF_OPTS = \
|
|
--with-altlog \
|
|
--with-puredb \
|
|
--with-rfc2640
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
PURE_FTPD_CONF_OPTS += --with-capabilities
|
|
PURE_FTPD_DEPENDENCIES += libcap
|
|
else
|
|
PURE_FTPD_CONF_OPTS += --without-capabilities
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
PURE_FTPD_CONF_OPTS += --with-tls
|
|
PURE_FTPD_DEPENDENCIES += openssl
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
PURE_FTPD_CONF_ENV += LIBS='-lssl -lcrypto -lz'
|
|
endif
|
|
else
|
|
PURE_FTPD_CONF_OPTS += --without-tls
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|