2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-03 14:22:36 +02:00
|
|
|
#
|
|
|
|
# apr-util
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-10-05 19:39:02 +02:00
|
|
|
APR_UTIL_VERSION = 1.5.4
|
2012-05-03 14:22:36 +02:00
|
|
|
APR_UTIL_SITE = http://archive.apache.org/dist/apr
|
2013-03-24 09:19:28 +01:00
|
|
|
APR_UTIL_LICENSE = Apache-2.0
|
|
|
|
APR_UTIL_LICENSE_FILES = LICENSE
|
2012-05-03 14:22:36 +02:00
|
|
|
APR_UTIL_INSTALL_STAGING = YES
|
2014-10-05 19:38:52 +02:00
|
|
|
APR_UTIL_DEPENDENCIES = apr expat
|
2014-09-27 21:32:44 +02:00
|
|
|
APR_UTIL_CONF_OPTS = \
|
2013-03-24 09:19:28 +01:00
|
|
|
--with-apr=$(STAGING_DIR)/usr/bin/apr-1-config
|
|
|
|
APR_UTIL_CONFIG_SCRIPTS = apu-1-config
|
|
|
|
|
|
|
|
# When iconv is available, then use it to provide charset conversion
|
|
|
|
# features.
|
2013-03-24 13:48:38 +01:00
|
|
|
APR_UTIL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
2012-05-03 14:22:36 +02:00
|
|
|
|
2014-10-05 19:38:53 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
|
|
|
|
APR_UTIL_CONF_OPTS += --with-dbm=db53 --with-berkeley-db="$(STAGING_DIR)/usr"
|
|
|
|
APR_UTIL_DEPENDENCIES += berkeleydb
|
|
|
|
else
|
|
|
|
APR_UTIL_CONF_OPTS += --without-berkeley-db
|
|
|
|
endif
|
|
|
|
|
2014-10-05 19:38:54 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GDBM),y)
|
|
|
|
APR_UTIL_CONF_OPTS += --with-gdbm="$(STAGING_DIR)/usr"
|
|
|
|
APR_UTIL_DEPENDENCIES += gdbm
|
|
|
|
else
|
|
|
|
APR_UTIL_CONF_OPTS += --without-gdbm
|
|
|
|
endif
|
|
|
|
|
2014-10-05 19:38:55 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
|
|
|
APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr"
|
|
|
|
APR_UTIL_DEPENDENCIES += mysql
|
|
|
|
else
|
|
|
|
APR_UTIL_CONF_OPTS += --without-mysql
|
|
|
|
endif
|
|
|
|
|
2014-10-05 19:38:52 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
|
|
|
APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr"
|
|
|
|
APR_UTIL_DEPENDENCIES += sqlite
|
|
|
|
else
|
|
|
|
APR_UTIL_CONF_OPTS += --without-sqlite3
|
|
|
|
endif
|
|
|
|
|
2014-10-06 21:32:09 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr"
|
|
|
|
APR_UTIL_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
APR_UTIL_CONF_OPTS += --without-crypto
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|