mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
cppcms: new package
[Thomas: reformat header and Config.in help text, add dependency on glibc since cppcms uses <monetary.h> functions that aren't available in uClibc.] Signed-off-by: Nicolas Ménégale <nicolas.menegale@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
d1a16db85d
commit
c176563717
29
package/cppcms/cppcms.mk
Normal file
29
package/cppcms/cppcms.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# cppcms
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CPPCMS_VERSION = 1.0.3
|
||||
CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2
|
||||
CPPCMS_LICENSE = LGPLv3
|
||||
CPPCMS_LICENSE_FILE = COPYING.TXT
|
||||
CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION)
|
||||
CPPCMS_INSTALL_STAGING = YES
|
||||
|
||||
CPPCMS_DEPENDENCIES = zlib pcre libgcrypt
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y)
|
||||
CPPCMS_CONF_OPT += -DDISABLE_ICONV=ON
|
||||
CPPCMS_DEPENDENCIES += icu
|
||||
endif
|
||||
|
||||
# We copy cppcms_tmpl_cc from staging to host because this file can be
|
||||
# needed for compiling packages using cppcms. And it is not worth
|
||||
# creating a host package just for a python script.
|
||||
define CPPCMS_INSTALL_HOST_TOOLS
|
||||
cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/usr/bin/cppcms_tmpl_cc
|
||||
endef
|
||||
CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user