package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / cppdb / cppdb.mk
blob2c26c90939960a221b33798ac49a06ac52c48b02
1 ################################################################################
3 # cppdb
5 ################################################################################
7 CPPDB_VERSION = 0.3.1
8 CPPDB_SOURCE = cppdb-$(CPPDB_VERSION).tar.bz2
9 CPPDB_SITE = http://downloads.sourceforge.net/project/cppcms/cppdb/$(CPPDB_VERSION)
10 CPPDB_INSTALL_STAGING = YES
11 CPPDB_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite)
12 CPPDB_LICENSE = Boost-v1.0 or MIT
13 CPPDB_LICENSE_FILES = LICENSE_1_0.txt MIT.txt
15 ifeq ($(BR2_PACKAGE_MYSQL),y)
16 CPPDB_DEPENDENCIES += mysql
17 else
18 CPPDB_CONF_OPTS += -DDISABLE_MYSQL=ON
19 endif
21 ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
22 CPPDB_DEPENDENCIES += postgresql
23 else
24 CPPDB_CONF_OPTS += -DDISABLE_PQ=ON
25 endif
27 ifeq ($(BR2_PACKAGE_SQLITE),)
28 CPPDB_CONF_OPTS += -DDISABLE_SQLITE=ON
29 endif
31 $(eval $(cmake-package))