nmenegale | c176563 | 2013-07-11 13:42:48 +0200 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # |
| 3 | # cppcms |
| 4 | # |
| 5 | ################################################################################ |
| 6 | |
| 7 | CPPCMS_VERSION = 1.0.3 |
| 8 | CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 |
| 9 | CPPCMS_LICENSE = LGPLv3 |
Jerzy Grzegorek | 6cabf13 | 2013-08-02 10:57:31 +0200 | [diff] [blame^] | 10 | CPPCMS_LICENSE_FILES = COPYING.TXT |
nmenegale | c176563 | 2013-07-11 13:42:48 +0200 | [diff] [blame] | 11 | CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) |
| 12 | CPPCMS_INSTALL_STAGING = YES |
| 13 | |
| 14 | CPPCMS_DEPENDENCIES = zlib pcre libgcrypt |
| 15 | |
| 16 | ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) |
| 17 | CPPCMS_CONF_OPT += -DDISABLE_ICONV=ON |
| 18 | CPPCMS_DEPENDENCIES += icu |
| 19 | endif |
| 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. |
| 24 | define CPPCMS_INSTALL_HOST_TOOLS |
| 25 | cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/usr/bin/cppcms_tmpl_cc |
| 26 | endef |
| 27 | CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS |
| 28 | |
| 29 | $(eval $(cmake-package)) |