blob: 8d4a519c1ddb55bd401a3f38a71d79175670dcfd [file] [log] [blame]
nmenegalec1765632013-07-11 13:42:48 +02001################################################################################
2#
3# cppcms
4#
5################################################################################
6
7CPPCMS_VERSION = 1.0.3
8CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2
9CPPCMS_LICENSE = LGPLv3
Jerzy Grzegorek6cabf132013-08-02 10:57:31 +020010CPPCMS_LICENSE_FILES = COPYING.TXT
nmenegalec1765632013-07-11 13:42:48 +020011CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION)
12CPPCMS_INSTALL_STAGING = YES
13
14CPPCMS_DEPENDENCIES = zlib pcre libgcrypt
15
16ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y)
17CPPCMS_CONF_OPT += -DDISABLE_ICONV=ON
18CPPCMS_DEPENDENCIES += icu
19endif
20
21# We copy cppcms_tmpl_cc from staging to host because this file can be
22# needed for compiling packages using cppcms. And it is not worth
23# creating a host package just for a python script.
24define CPPCMS_INSTALL_HOST_TOOLS
25 cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/usr/bin/cppcms_tmpl_cc
26endef
27CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS
28
29$(eval $(cmake-package))