The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / apr-util / apr-util.mk
1 ################################################################################
2 #
3 # apr-util
4 #
5 ################################################################################
6
7 APR_UTIL_VERSION = 1.5.4
8 APR_UTIL_SITE = http://archive.apache.org/dist/apr
9 APR_UTIL_LICENSE = Apache-2.0
10 APR_UTIL_LICENSE_FILES = LICENSE
11 APR_UTIL_INSTALL_STAGING = YES
12 APR_UTIL_DEPENDENCIES = apr expat
13 APR_UTIL_CONF_OPTS = \
14         --with-apr=$(STAGING_DIR)/usr/bin/apr-1-config
15 APR_UTIL_CONFIG_SCRIPTS = apu-1-config
16
17 # When iconv is available, then use it to provide charset conversion
18 # features.
19 APR_UTIL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
20
21 ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
22 APR_UTIL_CONF_OPTS += --with-dbm=db53 --with-berkeley-db="$(STAGING_DIR)/usr"
23 APR_UTIL_DEPENDENCIES += berkeleydb
24 else
25 APR_UTIL_CONF_OPTS += --without-berkeley-db
26 endif
27
28 ifeq ($(BR2_PACKAGE_GDBM),y)
29 APR_UTIL_CONF_OPTS += --with-gdbm="$(STAGING_DIR)/usr"
30 APR_UTIL_DEPENDENCIES += gdbm
31 else
32 APR_UTIL_CONF_OPTS += --without-gdbm
33 endif
34
35 ifeq ($(BR2_PACKAGE_MYSQL),y)
36 APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr"
37 APR_UTIL_DEPENDENCIES += mysql
38 else
39 APR_UTIL_CONF_OPTS += --without-mysql
40 endif
41
42 ifeq ($(BR2_PACKAGE_SQLITE),y)
43 APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr"
44 APR_UTIL_DEPENDENCIES += sqlite
45 else
46 APR_UTIL_CONF_OPTS += --without-sqlite3
47 endif
48
49 ifeq ($(BR2_PACKAGE_OPENSSL),y)
50 APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr"
51 APR_UTIL_DEPENDENCIES += openssl
52 else
53 APR_UTIL_CONF_OPTS += --without-crypto
54 endif
55
56 ifeq ($(BR2_PACKAGE_UNIXODBC),y)
57 APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr"
58 # avoid using target binary $(STAGING_DIR)/usr/bin/odbc_config
59 APR_UTIL_CONF_ENV += ac_cv_path_ODBC_CONFIG=""
60 APR_UTIL_DEPENDENCIES += unixodbc
61 else
62 APR_UTIL_CONF_OPTS += --without-odbc
63 endif
64
65 $(eval $(autotools-package))