* [Buildroot] [PATCH 1/1] cppcms: new package [not found] <1889525175.688461.1373542455505.JavaMail.root@openwide.fr> @ 2013-07-11 11:42 ` Nicolas Ménégale 2013-07-24 14:51 ` Nicolas Ménégale 2013-07-31 17:04 ` Thomas Petazzoni 0 siblings, 2 replies; 13+ messages in thread From: Nicolas Ménégale @ 2013-07-11 11:42 UTC (permalink / raw) To: buildroot Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> --- v2: iconv/icu related modifications The user can now choose if he want's to build cppcms using icu for having advanced localization features or using iconv. Also in the case that the user uses iconv, if the toolchains already integrate it, iconv won't be compiled. Sorry for the long time it took me to do this modification. CppCMS is a C++ web framework. The cppcms.mk also copy into the host after staging install two scripts needed when you compile an application using the web framework (cppcms_tmpl_cc). As discussed on IRC it's not worth creating an host-cppcms package for one script. --- package/Config.in | 1 + package/cppcms/Config.in | 30 ++++++++++++++++++++++++++++++ package/cppcms/cppcms.mk | 24 ++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 package/cppcms/Config.in create mode 100644 package/cppcms/cppcms.mk diff --git a/package/Config.in b/package/Config.in index b588a0c..7036e24 100644 --- a/package/Config.in +++ b/package/Config.in @@ -591,6 +591,7 @@ source "package/apr/Config.in" source "package/apr-util/Config.in" source "package/libcofi/Config.in" source "package/classpath/Config.in" +source "package/cppcms/Config.in" source "package/elfutils/Config.in" source "package/fftw/Config.in" source "package/libargtable2/Config.in" diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in new file mode 100644 index 0000000..b6e3f9a --- /dev/null +++ b/package/cppcms/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_CPPCMS + bool "cppcms" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE && !BR2_PACKAGE_CPPCMS_ICU + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + help + CppCMS is a Free High Performance Web Development Framework + (not a CMS) aimed for Rapid Web Application Development. + It differs from most of other web development frameworks + like: Python Django, Java Servlets in following: + It is designed and tuned to handle extremely high loads. + It uses modern C++ as primary development language in order to achieve first + goal. + It is aimed on development of both Web Sites and Web Services. + + http://cppcms.com + +config BR2_PACKAGE_CPPCMS_ICU + bool "use icu instead of iconv" + depends on BR2_PACKAGE_CPPCMS + select BR2_PACKAGE_ICU + help + Using ICU allows advanced localization features into CppCMS, + in another hand ICU is heavier than iconv. + +comment "cppcms requires a toolchain with C++ & WCHAR support enabled" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk new file mode 100644 index 0000000..af9e573 --- /dev/null +++ b/package/cppcms/cppcms.mk @@ -0,0 +1,24 @@ +############################################################# +# +# 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_CONF_OPT = $(if $(BR2_PACKAGE_CPPCMS_ICU),-DDISABLE_ICONV=ON,) +CPPCMS_DEPENDENCIES = zlib pcre $(if $(BR2_PACKAGE_CPPCMS_ICU),icu,$(if $(BR2_ENABLE_LOCALE),,libiconv)) libgcrypt + +# 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)) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-07-11 11:42 ` [Buildroot] [PATCH 1/1] cppcms: new package Nicolas Ménégale @ 2013-07-24 14:51 ` Nicolas Ménégale 2013-07-31 17:04 ` Thomas Petazzoni 1 sibling, 0 replies; 13+ messages in thread From: Nicolas Ménégale @ 2013-07-24 14:51 UTC (permalink / raw) To: buildroot Any news ? Thanks a lot, Nicolas. ----- Mail original ----- > De: "Nicolas M?n?gale" <nicolas.menegale@openwide.fr> > ?: buildroot at busybox.net > Cc: "Nicolas Menegale" <nicolas.menegale@openwide.fr> > Envoy?: Jeudi 11 Juillet 2013 13:42:48 > Objet: [PATCH 1/1] cppcms: new package > > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > --- > v2: iconv/icu related modifications > The user can now choose if he want's to build cppcms using icu for > having > advanced localization features or using iconv. > Also in the case that the user uses iconv, if the toolchains already > integrate > it, iconv won't be compiled. > Sorry for the long time it took me to do this modification. > CppCMS is a C++ web framework. The cppcms.mk also copy into the host > after > staging install two scripts needed when you compile an application > using the > web framework (cppcms_tmpl_cc). > As discussed on IRC it's not worth creating an host-cppcms package > for one > script. > --- > package/Config.in | 1 + > package/cppcms/Config.in | 30 ++++++++++++++++++++++++++++++ > package/cppcms/cppcms.mk | 24 ++++++++++++++++++++++++ > 3 files changed, 55 insertions(+) > create mode 100644 package/cppcms/Config.in > create mode 100644 package/cppcms/cppcms.mk > > diff --git a/package/Config.in b/package/Config.in > index b588a0c..7036e24 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -591,6 +591,7 @@ source "package/apr/Config.in" > source "package/apr-util/Config.in" > source "package/libcofi/Config.in" > source "package/classpath/Config.in" > +source "package/cppcms/Config.in" > source "package/elfutils/Config.in" > source "package/fftw/Config.in" > source "package/libargtable2/Config.in" > diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in > new file mode 100644 > index 0000000..b6e3f9a > --- /dev/null > +++ b/package/cppcms/Config.in > @@ -0,0 +1,30 @@ > +config BR2_PACKAGE_CPPCMS > + bool "cppcms" > + select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_PCRE > + select BR2_PACKAGE_LIBGCRYPT > + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE && > !BR2_PACKAGE_CPPCMS_ICU > + depends on BR2_INSTALL_LIBSTDCPP > + depends on BR2_USE_WCHAR > + help > + CppCMS is a Free High Performance Web Development Framework > + (not a CMS) aimed for Rapid Web Application Development. > + It differs from most of other web development frameworks > + like: Python Django, Java Servlets in following: > + It is designed and tuned to handle extremely high loads. > + It uses modern C++ as primary development language in order to > achieve first > + goal. > + It is aimed on development of both Web Sites and Web Services. > + > + http://cppcms.com > + > +config BR2_PACKAGE_CPPCMS_ICU > + bool "use icu instead of iconv" > + depends on BR2_PACKAGE_CPPCMS > + select BR2_PACKAGE_ICU > + help > + Using ICU allows advanced localization features into CppCMS, > + in another hand ICU is heavier than iconv. > + > +comment "cppcms requires a toolchain with C++ & WCHAR support > enabled" > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk > new file mode 100644 > index 0000000..af9e573 > --- /dev/null > +++ b/package/cppcms/cppcms.mk > @@ -0,0 +1,24 @@ > +############################################################# > +# > +# 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_CONF_OPT = $(if > $(BR2_PACKAGE_CPPCMS_ICU),-DDISABLE_ICONV=ON,) > +CPPCMS_DEPENDENCIES = zlib pcre $(if > $(BR2_PACKAGE_CPPCMS_ICU),icu,$(if $(BR2_ENABLE_LOCALE),,libiconv)) > libgcrypt > + > +# 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)) > -- > 1.7.9.5 > ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-07-11 11:42 ` [Buildroot] [PATCH 1/1] cppcms: new package Nicolas Ménégale 2013-07-24 14:51 ` Nicolas Ménégale @ 2013-07-31 17:04 ` Thomas Petazzoni 2013-08-01 8:16 ` Nicolas Ménégale 1 sibling, 1 reply; 13+ messages in thread From: Thomas Petazzoni @ 2013-07-31 17:04 UTC (permalink / raw) To: buildroot Dear Nicolas M?n?gale, On Thu, 11 Jul 2013 13:42:48 +0200 (CEST), Nicolas M?n?gale wrote: > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > --- > v2: iconv/icu related modifications > The user can now choose if he want's to build cppcms using icu for having > advanced localization features or using iconv. > Also in the case that the user uses iconv, if the toolchains already integrate > it, iconv won't be compiled. > Sorry for the long time it took me to do this modification. > CppCMS is a C++ web framework. The cppcms.mk also copy into the host after > staging install two scripts needed when you compile an application using the > web framework (cppcms_tmpl_cc). > As discussed on IRC it's not worth creating an host-cppcms package for one > script. > --- > package/Config.in | 1 + > package/cppcms/Config.in | 30 ++++++++++++++++++++++++++++++ > package/cppcms/cppcms.mk | 24 ++++++++++++++++++++++++ > 3 files changed, 55 insertions(+) > create mode 100644 package/cppcms/Config.in > create mode 100644 package/cppcms/cppcms.mk I've applied this, but I had to do a bit of tuning, because this package doesn't build with uClibc, as it uses <monetary.h> functions, that don't exist in uClibc. I've added a glibc dependency, and removed the wchar dependency. Notice that my attempts to build with uClibc also allowed to discovered that the package should have depended on thread support. Moreover, the package apparently offers optional zlib support, optional gcrypt support, optional OpenSSL support. It'd be good to support that in the future. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-07-31 17:04 ` Thomas Petazzoni @ 2013-08-01 8:16 ` Nicolas Ménégale 0 siblings, 0 replies; 13+ messages in thread From: Nicolas Ménégale @ 2013-08-01 8:16 UTC (permalink / raw) To: buildroot Hi Thomas, Thanks a lot for the investigation and the rework. I'll add these functionalities to cppcms in the future, now that we have a clean basis. Thanks, Nicolas. ----- Mail original ----- > De: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com> > ?: "Nicolas M?n?gale" <nicolas.menegale@openwide.fr> > Cc: buildroot at busybox.net > Envoy?: Mercredi 31 Juillet 2013 19:04:37 > Objet: Re: [Buildroot] [PATCH 1/1] cppcms: new package > > Dear Nicolas M?n?gale, > > On Thu, 11 Jul 2013 13:42:48 +0200 (CEST), Nicolas M?n?gale wrote: > > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > > --- > > v2: iconv/icu related modifications > > The user can now choose if he want's to build cppcms using icu for > > having > > advanced localization features or using iconv. > > Also in the case that the user uses iconv, if the toolchains > > already integrate > > it, iconv won't be compiled. > > Sorry for the long time it took me to do this modification. > > CppCMS is a C++ web framework. The cppcms.mk also copy into the > > host after > > staging install two scripts needed when you compile an application > > using the > > web framework (cppcms_tmpl_cc). > > As discussed on IRC it's not worth creating an host-cppcms package > > for one > > script. > > --- > > package/Config.in | 1 + > > package/cppcms/Config.in | 30 ++++++++++++++++++++++++++++++ > > package/cppcms/cppcms.mk | 24 ++++++++++++++++++++++++ > > 3 files changed, 55 insertions(+) > > create mode 100644 package/cppcms/Config.in > > create mode 100644 package/cppcms/cppcms.mk > > I've applied this, but I had to do a bit of tuning, because this > package doesn't build with uClibc, as it uses <monetary.h> functions, > that don't exist in uClibc. I've added a glibc dependency, and > removed > the wchar dependency. Notice that my attempts to build with uClibc > also > allowed to discovered that the package should have depended on thread > support. > > Moreover, the package apparently offers optional zlib support, > optional > gcrypt support, optional OpenSSL support. It'd be good to support > that > in the future. > > Thanks, > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com > ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package @ 2013-04-24 15:35 nmenegale 2013-05-13 14:42 ` Nicolas Menegale 2013-05-13 15:21 ` Samuel Martin 0 siblings, 2 replies; 13+ messages in thread From: nmenegale @ 2013-04-24 15:35 UTC (permalink / raw) To: buildroot Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> --- v0: initial commit CppCMS is a C++ web framework. The cppcms.mk also copy into the host after staging install two scripts needed when you compile an application using the web framework (cppcms_tmpl_cc and cppcms_run) As discussed on IRC it's not worth creating an host-cppcms package for two script. Signed-off-by: nmenegale <nicolas.menegale@openwide.fr> --- package/Config.in | 1 + package/cppcms/Config.in | 21 +++++++++++++++++++++ package/cppcms/cppcms.mk | 23 +++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 package/cppcms/Config.in create mode 100644 package/cppcms/cppcms.mk diff --git a/package/Config.in b/package/Config.in index ab514c7..3ade087 100644 --- a/package/Config.in +++ b/package/Config.in @@ -556,6 +556,7 @@ source "package/apr/Config.in" source "package/apr-util/Config.in" source "package/libcofi/Config.in" source "package/classpath/Config.in" +source "package/cppcms/Config.in" source "package/elfutils/Config.in" source "package/fftw/Config.in" source "package/libargtable2/Config.in" diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in new file mode 100644 index 0000000..b53ba18 --- /dev/null +++ b/package/cppcms/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_CPPCMS + bool "cppcms" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_ICU + select BR2_PACKAGE_LIBGCRYPT + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + help + CppCMS is a Free High Performance Web Development Framework + (not a CMS) aimed for Rapid Web Application Development. + It differs from most of other web development frameworks + like: Python Django, Java Servlets in following: + It is designed and tuned to handle extremely high loads. + It uses modern C++ as primary development language in order to achieve first goal. + It is aimed on development of both Web Sites and Web Services. + + http://cppcms.com + +comment "cppcms requires a toolchain with C++ & WCHAR support enabled" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk new file mode 100644 index 0000000..b3319c2 --- /dev/null +++ b/package/cppcms/cppcms.mk @@ -0,0 +1,23 @@ +############################################################# +# +# 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_INSTALL_TARGET = YES +CPPCMS_CONF_OPT = -DDISABLE_ICONV=ON +CPPCMS_DEPENDENCIES = zlib pcre icu libgcrypt + +define CPPCMS_INSTALL_HOST_TOOLS + cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/usr/bin/cppcms_tmpl_cc + cp $(STAGING_DIR)/usr/bin/cppcms_run $(HOST_DIR)/usr/bin/cppcms_run +endef +CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS + +$(eval $(cmake-package)) -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-04-24 15:35 nmenegale @ 2013-05-13 14:42 ` Nicolas Menegale 2013-05-13 15:21 ` Samuel Martin 1 sibling, 0 replies; 13+ messages in thread From: Nicolas Menegale @ 2013-05-13 14:42 UTC (permalink / raw) To: buildroot Any news about this patch ? Thanks a lot ! ----- Mail original ----- > De: "nmenegale" <nicolas.menegale@openwide.fr> > ?: buildroot at busybox.net > Cc: "nmenegale" <nicolas.menegale@openwide.fr> > Envoy?: Mercredi 24 Avril 2013 17:35:32 > Objet: [PATCH 1/1] cppcms: new package > > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > --- > v0: initial commit > CppCMS is a C++ web framework. The cppcms.mk also copy into the host > after staging install two > scripts needed when you compile an application using the web > framework (cppcms_tmpl_cc and cppcms_run) > As discussed on IRC it's not worth creating an host-cppcms package > for two script. > Signed-off-by: nmenegale <nicolas.menegale@openwide.fr> > --- > package/Config.in | 1 + > package/cppcms/Config.in | 21 +++++++++++++++++++++ > package/cppcms/cppcms.mk | 23 +++++++++++++++++++++++ > 3 files changed, 45 insertions(+) > create mode 100644 package/cppcms/Config.in > create mode 100644 package/cppcms/cppcms.mk > > diff --git a/package/Config.in b/package/Config.in > index ab514c7..3ade087 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -556,6 +556,7 @@ source "package/apr/Config.in" > source "package/apr-util/Config.in" > source "package/libcofi/Config.in" > source "package/classpath/Config.in" > +source "package/cppcms/Config.in" > source "package/elfutils/Config.in" > source "package/fftw/Config.in" > source "package/libargtable2/Config.in" > diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in > new file mode 100644 > index 0000000..b53ba18 > --- /dev/null > +++ b/package/cppcms/Config.in > @@ -0,0 +1,21 @@ > +config BR2_PACKAGE_CPPCMS > + bool "cppcms" > + select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_PCRE > + select BR2_PACKAGE_ICU > + select BR2_PACKAGE_LIBGCRYPT > + depends on BR2_INSTALL_LIBSTDCPP > + depends on BR2_USE_WCHAR > + help > + CppCMS is a Free High Performance Web Development Framework > + (not a CMS) aimed for Rapid Web Application Development. > + It differs from most of other web development frameworks > + like: Python Django, Java Servlets in following: > + It is designed and tuned to handle extremely high loads. > + It uses modern C++ as primary development language in order to > achieve first goal. > + It is aimed on development of both Web Sites and Web Services. > + > + http://cppcms.com > + > +comment "cppcms requires a toolchain with C++ & WCHAR support > enabled" > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk > new file mode 100644 > index 0000000..b3319c2 > --- /dev/null > +++ b/package/cppcms/cppcms.mk > @@ -0,0 +1,23 @@ > +############################################################# > +# > +# 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_INSTALL_TARGET = YES > +CPPCMS_CONF_OPT = -DDISABLE_ICONV=ON > +CPPCMS_DEPENDENCIES = zlib pcre icu libgcrypt > + > +define CPPCMS_INSTALL_HOST_TOOLS > + cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc > $(HOST_DIR)/usr/bin/cppcms_tmpl_cc > + cp $(STAGING_DIR)/usr/bin/cppcms_run $(HOST_DIR)/usr/bin/cppcms_run > +endef > +CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS > + > +$(eval $(cmake-package)) > -- > 1.8.1.2 > > ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-04-24 15:35 nmenegale 2013-05-13 14:42 ` Nicolas Menegale @ 2013-05-13 15:21 ` Samuel Martin 2013-05-13 15:46 ` Thomas Petazzoni 1 sibling, 1 reply; 13+ messages in thread From: Samuel Martin @ 2013-05-13 15:21 UTC (permalink / raw) To: buildroot Hi Nicolas, 2013/4/24 nmenegale <nicolas.menegale@openwide.fr>: > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > --- > v0: initial commit > CppCMS is a C++ web framework. The cppcms.mk also copy into the host after staging install two > scripts needed when you compile an application using the web framework (cppcms_tmpl_cc and cppcms_run) > As discussed on IRC it's not worth creating an host-cppcms package for two script. > Signed-off-by: nmenegale <nicolas.menegale@openwide.fr> > --- > package/Config.in | 1 + > package/cppcms/Config.in | 21 +++++++++++++++++++++ > package/cppcms/cppcms.mk | 23 +++++++++++++++++++++++ > 3 files changed, 45 insertions(+) > create mode 100644 package/cppcms/Config.in > create mode 100644 package/cppcms/cppcms.mk > > diff --git a/package/Config.in b/package/Config.in > index ab514c7..3ade087 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -556,6 +556,7 @@ source "package/apr/Config.in" > source "package/apr-util/Config.in" > source "package/libcofi/Config.in" > source "package/classpath/Config.in" > +source "package/cppcms/Config.in" > source "package/elfutils/Config.in" > source "package/fftw/Config.in" > source "package/libargtable2/Config.in" > diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in > new file mode 100644 > index 0000000..b53ba18 > --- /dev/null > +++ b/package/cppcms/Config.in > @@ -0,0 +1,21 @@ > +config BR2_PACKAGE_CPPCMS > + bool "cppcms" > + select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_PCRE > + select BR2_PACKAGE_ICU > + select BR2_PACKAGE_LIBGCRYPT > + depends on BR2_INSTALL_LIBSTDCPP > + depends on BR2_USE_WCHAR > + help > + CppCMS is a Free High Performance Web Development Framework > + (not a CMS) aimed for Rapid Web Application Development. > + It differs from most of other web development frameworks > + like: Python Django, Java Servlets in following: > + It is designed and tuned to handle extremely high loads. > + It uses modern C++ as primary development language in order to achieve first goal. > + It is aimed on development of both Web Sites and Web Services. > + > + http://cppcms.com > + > +comment "cppcms requires a toolchain with C++ & WCHAR support enabled" > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk > new file mode 100644 > index 0000000..b3319c2 > --- /dev/null > +++ b/package/cppcms/cppcms.mk > @@ -0,0 +1,23 @@ > +############################################################# > +# > +# 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_INSTALL_TARGET = YES useless, *_INSTALL_TARGET is YES by default. > +CPPCMS_CONF_OPT = -DDISABLE_ICONV=ON > +CPPCMS_DEPENDENCIES = zlib pcre icu libgcrypt > + > +define CPPCMS_INSTALL_HOST_TOOLS > + cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/usr/bin/cppcms_tmpl_cc > + cp $(STAGING_DIR)/usr/bin/cppcms_run $(HOST_DIR)/usr/bin/cppcms_run Dubious... This means the host-cppcms package should depend on the cppcms one; usually that's the other way! Also, if cppcms_{run,tmpl_cc} are binaries, this may only be valid if the target system is compatible with the host one... which is usually not the case. However, if they're just bash or python scripts, it's ok; though I'd prefer you copy them from the package build directory rather than from the staging tree. > +endef > +CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS > + > +$(eval $(cmake-package)) > -- > 1.8.1.2 > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot Regards, -- Samuel ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-05-13 15:21 ` Samuel Martin @ 2013-05-13 15:46 ` Thomas Petazzoni 2013-05-13 16:13 ` Samuel Martin 0 siblings, 1 reply; 13+ messages in thread From: Thomas Petazzoni @ 2013-05-13 15:46 UTC (permalink / raw) To: buildroot Dear Samuel Martin, On Mon, 13 May 2013 17:21:28 +0200, Samuel Martin wrote: > 2013/4/24 nmenegale <nicolas.menegale@openwide.fr>: > > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > > --- > > v0: initial commit > > CppCMS is a C++ web framework. The cppcms.mk also copy into the host after staging install two > > scripts needed when you compile an application using the web framework (cppcms_tmpl_cc and cppcms_run) > > As discussed on IRC it's not worth creating an host-cppcms package for two script. [...] > > +define CPPCMS_INSTALL_HOST_TOOLS > > + cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/usr/bin/cppcms_tmpl_cc > > + cp $(STAGING_DIR)/usr/bin/cppcms_run $(HOST_DIR)/usr/bin/cppcms_run > Dubious... > This means the host-cppcms package should depend on the cppcms one; > usually that's the other way! > > Also, if cppcms_{run,tmpl_cc} are binaries, this may only be valid if > the target system is compatible > with the host one... which is usually not the case. > However, if they're just bash or python scripts, it's ok; though I'd > prefer you copy them from the package > build directory rather than from the staging tree. Did you read the commit log? Nicolas: *) Your commit log lines are too long. Please wrap at ~80 columns. *) Your should add a comment in the .mk file to explain what you're doing with those cppcms_tmpl_cc and cppcms_run scripts, so that we remember why the funky thing you're doing works. You can just copy/paste parts of your commit log. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-05-13 15:46 ` Thomas Petazzoni @ 2013-05-13 16:13 ` Samuel Martin 2013-05-21 9:58 ` Nicolas Menegale 0 siblings, 1 reply; 13+ messages in thread From: Samuel Martin @ 2013-05-13 16:13 UTC (permalink / raw) To: buildroot 2013/5/13 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>: > Dear Samuel Martin, > > On Mon, 13 May 2013 17:21:28 +0200, Samuel Martin wrote: > >> 2013/4/24 nmenegale <nicolas.menegale@openwide.fr>: >> > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> >> > --- >> > v0: initial commit >> > CppCMS is a C++ web framework. The cppcms.mk also copy into the host after staging install two >> > scripts needed when you compile an application using the web framework (cppcms_tmpl_cc and cppcms_run) >> > As discussed on IRC it's not worth creating an host-cppcms package for two script. > > [...] > >> > +define CPPCMS_INSTALL_HOST_TOOLS >> > + cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/usr/bin/cppcms_tmpl_cc >> > + cp $(STAGING_DIR)/usr/bin/cppcms_run $(HOST_DIR)/usr/bin/cppcms_run >> Dubious... >> This means the host-cppcms package should depend on the cppcms one; >> usually that's the other way! >> >> Also, if cppcms_{run,tmpl_cc} are binaries, this may only be valid if >> the target system is compatible >> with the host one... which is usually not the case. >> However, if they're just bash or python scripts, it's ok; though I'd >> prefer you copy them from the package >> build directory rather than from the staging tree. > > Did you read the commit log? My bad! I missed it. > > Nicolas: > > *) Your commit log lines are too long. Please wrap at ~80 columns. > > *) Your should add a comment in the .mk file to explain what you're > doing with those cppcms_tmpl_cc and cppcms_run scripts, so that we > remember why the funky thing you're doing works. You can just > copy/paste parts of your commit log. Agree; in the current state, it is/could be a bit confusing... Regards, -- Samuel ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-05-13 16:13 ` Samuel Martin @ 2013-05-21 9:58 ` Nicolas Menegale 2013-05-21 10:01 ` Nicolas Menegale 2013-05-21 10:04 ` Nicolas Menegale 0 siblings, 2 replies; 13+ messages in thread From: Nicolas Menegale @ 2013-05-21 9:58 UTC (permalink / raw) To: buildroot Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> --- v1: minor modifications CppCMS is a C++ web framework. The cppcms.mk also copy into the host after staging install two scripts needed when you compile an application using the web framework (cppcms_tmpl_cc). As discussed on IRC it's not worth creating an host-cppcms package for one script. Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> --- package/Config.in | 1 + package/cppcms/Config.in | 21 +++++++++++++++++++++ package/cppcms/cppcms.mk | 23 +++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 package/cppcms/Config.in create mode 100644 package/cppcms/cppcms.mk diff --git a/package/Config.in b/package/Config.in index ab514c7..3ade087 100644 --- a/package/Config.in +++ b/package/Config.in @@ -556,6 +556,7 @@ source "package/apr/Config.in" source "package/apr-util/Config.in" source "package/libcofi/Config.in" source "package/classpath/Config.in" +source "package/cppcms/Config.in" source "package/elfutils/Config.in" source "package/fftw/Config.in" source "package/libargtable2/Config.in" diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in new file mode 100644 index 0000000..b53ba18 --- /dev/null +++ b/package/cppcms/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_CPPCMS + bool "cppcms" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_ICU + select BR2_PACKAGE_LIBGCRYPT + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + help + CppCMS is a Free High Performance Web Development Framework + (not a CMS) aimed for Rapid Web Application Development. + It differs from most of other web development frameworks + like: Python Django, Java Servlets in following: + It is designed and tuned to handle extremely high loads. + It uses modern C++ as primary development language in order to achieve first + goal. + It is aimed on development of both Web Sites and Web Services. + + http://cppcms.com + +comment "cppcms requires a toolchain with C++ & WCHAR support enabled" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk new file mode 100644 index 0000000..b3319c2 --- /dev/null +++ b/package/cppcms/cppcms.mk @@ -0,0 +1,23 @@ +############################################################# +# +# 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_CONF_OPT = -DDISABLE_ICONV=ON +CPPCMS_DEPENDENCIES = zlib pcre icu libgcrypt + +# 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)) -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-05-21 9:58 ` Nicolas Menegale @ 2013-05-21 10:01 ` Nicolas Menegale 2013-05-21 10:04 ` Nicolas Menegale 1 sibling, 0 replies; 13+ messages in thread From: Nicolas Menegale @ 2013-05-21 10:01 UTC (permalink / raw) To: buildroot Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> --- v1: minor modifications CppCMS is a C++ web framework. The cppcms.mk also copy into the host after staging install two scripts needed when you compile an application using the web framework (cppcms_tmpl_cc). As discussed on IRC it's not worth creating an host-cppcms package for one script. Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> --- package/Config.in | 1 + package/cppcms/Config.in | 21 +++++++++++++++++++++ package/cppcms/cppcms.mk | 23 +++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 package/cppcms/Config.in create mode 100644 package/cppcms/cppcms.mk diff --git a/package/Config.in b/package/Config.in index ab514c7..3ade087 100644 --- a/package/Config.in +++ b/package/Config.in @@ -556,6 +556,7 @@ source "package/apr/Config.in" source "package/apr-util/Config.in" source "package/libcofi/Config.in" source "package/classpath/Config.in" +source "package/cppcms/Config.in" source "package/elfutils/Config.in" source "package/fftw/Config.in" source "package/libargtable2/Config.in" diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in new file mode 100644 index 0000000..b53ba18 --- /dev/null +++ b/package/cppcms/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_CPPCMS + bool "cppcms" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_ICU + select BR2_PACKAGE_LIBGCRYPT + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + help + CppCMS is a Free High Performance Web Development Framework + (not a CMS) aimed for Rapid Web Application Development. + It differs from most of other web development frameworks + like: Python Django, Java Servlets in following: + It is designed and tuned to handle extremely high loads. + It uses modern C++ as primary development language in order to achieve first + goal. + It is aimed on development of both Web Sites and Web Services. + + http://cppcms.com + +comment "cppcms requires a toolchain with C++ & WCHAR support enabled" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk new file mode 100644 index 0000000..b3319c2 --- /dev/null +++ b/package/cppcms/cppcms.mk @@ -0,0 +1,23 @@ +############################################################# +# +# 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_CONF_OPT = -DDISABLE_ICONV=ON +CPPCMS_DEPENDENCIES = zlib pcre icu libgcrypt + +# 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)) -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-05-21 9:58 ` Nicolas Menegale 2013-05-21 10:01 ` Nicolas Menegale @ 2013-05-21 10:04 ` Nicolas Menegale 2013-05-28 13:04 ` Nicolas Menegale 1 sibling, 1 reply; 13+ messages in thread From: Nicolas Menegale @ 2013-05-21 10:04 UTC (permalink / raw) To: buildroot Hi Guys, Sorry I made a mistake in the mail subject the first time I sent the patch. But both sent patches (v1) are the same. I realized that cppcms_run wasn't necessary into the host. Only cppcms_tmpl is, as explained in the commentary. What do you think about this v1 ? Thanks a lot, Nicolas M?n?gale. ----- Mail original ----- > De: "Nicolas Menegale" <nicolas.menegale@openwide.fr> > ?: buildroot at busybox.net > Cc: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com> > Envoy?: Mardi 21 Mai 2013 11:58:24 > Objet: Re: [Buildroot] [PATCH 1/1] cppcms: new package > > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > --- > v1: minor modifications > CppCMS is a C++ web framework. The cppcms.mk also copy into the host > after > staging install two scripts needed when you compile an application > using the > web framework (cppcms_tmpl_cc). > As discussed on IRC it's not worth creating an host-cppcms package > for one > script. > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > --- > package/Config.in | 1 + > package/cppcms/Config.in | 21 +++++++++++++++++++++ > package/cppcms/cppcms.mk | 23 +++++++++++++++++++++++ > 3 files changed, 45 insertions(+) > create mode 100644 package/cppcms/Config.in > create mode 100644 package/cppcms/cppcms.mk > > diff --git a/package/Config.in b/package/Config.in > index ab514c7..3ade087 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -556,6 +556,7 @@ source "package/apr/Config.in" > source "package/apr-util/Config.in" > source "package/libcofi/Config.in" > source "package/classpath/Config.in" > +source "package/cppcms/Config.in" > source "package/elfutils/Config.in" > source "package/fftw/Config.in" > source "package/libargtable2/Config.in" > diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in > new file mode 100644 > index 0000000..b53ba18 > --- /dev/null > +++ b/package/cppcms/Config.in > @@ -0,0 +1,21 @@ > +config BR2_PACKAGE_CPPCMS > + bool "cppcms" > + select BR2_PACKAGE_ZLIB > + select BR2_PACKAGE_PCRE > + select BR2_PACKAGE_ICU > + select BR2_PACKAGE_LIBGCRYPT > + depends on BR2_INSTALL_LIBSTDCPP > + depends on BR2_USE_WCHAR > + help > + CppCMS is a Free High Performance Web Development Framework > + (not a CMS) aimed for Rapid Web Application Development. > + It differs from most of other web development frameworks > + like: Python Django, Java Servlets in following: > + It is designed and tuned to handle extremely high loads. > + It uses modern C++ as primary development language in order to > achieve first > + goal. > + It is aimed on development of both Web Sites and Web Services. > + > + http://cppcms.com > + > +comment "cppcms requires a toolchain with C++ & WCHAR support > enabled" > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk > new file mode 100644 > index 0000000..b3319c2 > --- /dev/null > +++ b/package/cppcms/cppcms.mk > @@ -0,0 +1,23 @@ > +############################################################# > +# > +# 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_CONF_OPT = -DDISABLE_ICONV=ON > +CPPCMS_DEPENDENCIES = zlib pcre icu libgcrypt > + > +# 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)) > -- > 1.8.1.2 > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/1] cppcms: new package 2013-05-21 10:04 ` Nicolas Menegale @ 2013-05-28 13:04 ` Nicolas Menegale 0 siblings, 0 replies; 13+ messages in thread From: Nicolas Menegale @ 2013-05-28 13:04 UTC (permalink / raw) To: buildroot Any news ? Thanks everyone. Nicolas. ----- Mail original ----- > De: "Nicolas Menegale" <nicolas.menegale@openwide.fr> > ?: buildroot at busybox.net > Cc: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com> > Envoy?: Mardi 21 Mai 2013 12:04:18 > Objet: Re: [Buildroot] [PATCH 1/1] cppcms: new package > > Hi Guys, > > Sorry I made a mistake in the mail subject the first time I sent the > patch. But both sent patches (v1) are the same. > I realized that cppcms_run wasn't necessary into the host. Only > cppcms_tmpl is, as explained in the commentary. > > What do you think about this v1 ? > > Thanks a lot, > Nicolas M?n?gale. > > > ----- Mail original ----- > > De: "Nicolas Menegale" <nicolas.menegale@openwide.fr> > > ?: buildroot at busybox.net > > Cc: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com> > > Envoy?: Mardi 21 Mai 2013 11:58:24 > > Objet: Re: [Buildroot] [PATCH 1/1] cppcms: new package > > > > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > > --- > > v1: minor modifications > > CppCMS is a C++ web framework. The cppcms.mk also copy into the > > host > > after > > staging install two scripts needed when you compile an application > > using the > > web framework (cppcms_tmpl_cc). > > As discussed on IRC it's not worth creating an host-cppcms package > > for one > > script. > > Signed-off-by: Nicolas M?n?gale <nicolas.menegale@openwide.fr> > > --- > > package/Config.in | 1 + > > package/cppcms/Config.in | 21 +++++++++++++++++++++ > > package/cppcms/cppcms.mk | 23 +++++++++++++++++++++++ > > 3 files changed, 45 insertions(+) > > create mode 100644 package/cppcms/Config.in > > create mode 100644 package/cppcms/cppcms.mk > > > > diff --git a/package/Config.in b/package/Config.in > > index ab514c7..3ade087 100644 > > --- a/package/Config.in > > +++ b/package/Config.in > > @@ -556,6 +556,7 @@ source "package/apr/Config.in" > > source "package/apr-util/Config.in" > > source "package/libcofi/Config.in" > > source "package/classpath/Config.in" > > +source "package/cppcms/Config.in" > > source "package/elfutils/Config.in" > > source "package/fftw/Config.in" > > source "package/libargtable2/Config.in" > > diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in > > new file mode 100644 > > index 0000000..b53ba18 > > --- /dev/null > > +++ b/package/cppcms/Config.in > > @@ -0,0 +1,21 @@ > > +config BR2_PACKAGE_CPPCMS > > + bool "cppcms" > > + select BR2_PACKAGE_ZLIB > > + select BR2_PACKAGE_PCRE > > + select BR2_PACKAGE_ICU > > + select BR2_PACKAGE_LIBGCRYPT > > + depends on BR2_INSTALL_LIBSTDCPP > > + depends on BR2_USE_WCHAR > > + help > > + CppCMS is a Free High Performance Web Development Framework > > + (not a CMS) aimed for Rapid Web Application Development. > > + It differs from most of other web development frameworks > > + like: Python Django, Java Servlets in following: > > + It is designed and tuned to handle extremely high loads. > > + It uses modern C++ as primary development language in order to > > achieve first > > + goal. > > + It is aimed on development of both Web Sites and Web Services. > > + > > + http://cppcms.com > > + > > +comment "cppcms requires a toolchain with C++ & WCHAR support > > enabled" > > + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR > > diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk > > new file mode 100644 > > index 0000000..b3319c2 > > --- /dev/null > > +++ b/package/cppcms/cppcms.mk > > @@ -0,0 +1,23 @@ > > +############################################################# > > +# > > +# 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_CONF_OPT = -DDISABLE_ICONV=ON > > +CPPCMS_DEPENDENCIES = zlib pcre icu libgcrypt > > + > > +# 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)) > > -- > > 1.8.1.2 > > _______________________________________________ > > buildroot mailing list > > buildroot at busybox.net > > http://lists.busybox.net/mailman/listinfo/buildroot > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-08-01 8:16 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1889525175.688461.1373542455505.JavaMail.root@openwide.fr>
2013-07-11 11:42 ` [Buildroot] [PATCH 1/1] cppcms: new package Nicolas Ménégale
2013-07-24 14:51 ` Nicolas Ménégale
2013-07-31 17:04 ` Thomas Petazzoni
2013-08-01 8:16 ` Nicolas Ménégale
2013-04-24 15:35 nmenegale
2013-05-13 14:42 ` Nicolas Menegale
2013-05-13 15:21 ` Samuel Martin
2013-05-13 15:46 ` Thomas Petazzoni
2013-05-13 16:13 ` Samuel Martin
2013-05-21 9:58 ` Nicolas Menegale
2013-05-21 10:01 ` Nicolas Menegale
2013-05-21 10:04 ` Nicolas Menegale
2013-05-28 13:04 ` Nicolas Menegale
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox