1 ################################################################################
5 ################################################################################
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
18 CPPDB_CONF_OPTS
+= -DDISABLE_MYSQL
=ON
21 ifeq ($(BR2_PACKAGE_POSTGRESQL
),y
)
22 CPPDB_DEPENDENCIES
+= postgresql
24 CPPDB_CONF_OPTS
+= -DDISABLE_PQ
=ON
27 ifeq ($(BR2_PACKAGE_SQLITE
),)
28 CPPDB_CONF_OPTS
+= -DDISABLE_SQLITE
=ON
31 $(eval
$(cmake-package
))