cppcms: new package
PATCH 1/1 cppcms: new package
---
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.
--- 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
package/Config.in +1 -0
@@ -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"
package/cppcms/Config.in new file +21 -0
@@ -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
package/cppcms/cppcms.mk new file +23 -0
@@ -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))
Signature · 1 line
1.8.1.2
PATCH 1/1 cppcms: new package
Any news about this patch ?
Thanks a lot !
----- Mail original -----
Quoted 100 lines
De: "nmenegale" <[email protected]>
?: buildroot at busybox.net
Cc: "nmenegale" <[email protected]>
Envoy?: Mercredi 24 Avril 2013 17:35:32
Objet: [PATCH 1/1] cppcms: new packageSigned-off-by Nicolas M?n?gale <[email protected]>---
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_ccandcppcms_run)
As discussed on IRC it's not worth creating an host-cppcms package for two script.Signed-off-by nmenegale <[email protected]>--- 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.mkpackage/Config.in +1
-0@@ -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"package/cppcms/Config.in new file +15
-0@@ -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 toachieve first goal.
package/cppcms/Config.in new file +5
-0+ It is aimed on development of both Web Sites and Web Services. + + http://cppcms.com + +comment "cppcms requires a toolchain with C++ & WCHAR supportenabled"
package/cppcms/Config.in new file +1
-0+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHARpackage/cppcms/cppcms.mk new file +11
-0@@ -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)
package/cppcms/cppcms.mk new file +7
-0+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
package/cppcms/cppcms.mk new file +5
-1+ 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
PATCH 1/1 cppcms: new package
In reply to nmenegaleHi Nicolas,
2013/4/24 nmenegale <[email protected]>:
Quoted 63 lines
Signed-off-by Nicolas M?n?gale <[email protected]>---
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_ccandcppcms_run) As discussed on IRC it's not worth creating an host-cppcms package for two script.Signed-off-by nmenegale <[email protected]>--- 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.mkpackage/Config.in +1
-0@@ -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"package/cppcms/Config.in new file +21
-0@@ -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_WCHARpackage/cppcms/cppcms.mk new file +3
-0@@ -0,0 +1,23 @@ +############################################################# +# +# CppCMS
package/cppcms/cppcms.mk line 13
Quoted 10 lines
package/cppcms/cppcms.mk new file +10
-0+# +############################################################# + +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.
package/cppcms/cppcms.mk line 19
Quoted 6 lines
package/cppcms/cppcms.mk new file +6
-0+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.
Quoted 11 lines
package/cppcms/cppcms.mk new file +4
-1+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,
Signature · 1 line
Samuel
PATCH 1/1 cppcms: new package
Dear Samuel Martin,
Quoted 7 lines · Samuel Martin
2013/4/24 nmenegale <[email protected]>:
Quoted 6 lines
Signed-off-by Nicolas M?n?gale <[email protected]>---
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_ccandcppcms_run) As discussed on IRC it's not worth creating an host-cppcms package for two script.
[...]
Quoted 7 lines
package/cppcms/cppcms.mk line 19
Quoted 3 lines
package/cppcms/cppcms.mk new file +3
-0+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_runDubious...
This means the host-cppcms package should depend on the cppcms one; usually that's the other way!
Quoted 6 lines
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
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 cppcms: new package
2013/5/13 Thomas Petazzoni <[email protected]>:
Quoted 21 lines
Dear Samuel Martin,
Quoted 7 lines · Samuel Martin
2013/4/24 nmenegale <[email protected]>:
Quoted 6 lines
Signed-off-by Nicolas M?n?gale <[email protected]>---
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_ccandcppcms_run) As discussed on IRC it's not worth creating an host-cppcms package for two script.[...]
Quoted 7 lines
package/cppcms/cppcms.mk line 19
Quoted 3 lines
package/cppcms/cppcms.mk new file +3
-0+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_runDubious...
This means the host-cppcms package should depend on the cppcms one; usually that's the other way!
Quoted 8 lines
Quoted 6 lines
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.
Quoted 9 lines
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 thosecppcms_tmpl_ccandcppcms_runscripts, 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,
Signature · 1 line
Samuel
PATCH 1/1 cppcms: new package
---
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.
--- 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
package/Config.in +1 -0
@@ -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"
package/cppcms/Config.in new file +21 -0
@@ -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
package/cppcms/cppcms.mk new file +23 -0
@@ -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))
Signature · 1 line
1.8.1.2
PATCH 1/1 cppcms: new package
---
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.
--- 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
package/Config.in +1 -0
@@ -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"
package/cppcms/Config.in new file +21 -0
@@ -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
package/cppcms/cppcms.mk new file +23 -0
@@ -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))
Signature · 1 line
1.8.1.2
PATCH 1/1 cppcms: new package
In reply to Nicolas MenegaleHi 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 -----
Quoted 108 lines
De: "Nicolas Menegale" <[email protected]> ?: buildroot at busybox.net
Cc: "Thomas Petazzoni" <[email protected]> Envoy?: Mardi 21 Mai 2013 11:58:24
Objet: Re: [Buildroot] [PATCH 1/1] cppcms: new packageSigned-off-by Nicolas M?n?gale <[email protected]>---
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 <[email protected]>--- 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.mkpackage/Config.in +1
-0@@ -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"package/cppcms/Config.in new file +15
-0@@ -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 toachieve first
package/cppcms/Config.in new file +6
-0+ goal. + It is aimed on development of both Web Sites and Web Services. + + http://cppcms.com + +comment "cppcms requires a toolchain with C++ & WCHAR supportenabled"
package/cppcms/Config.in new file +1
-0+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHARpackage/cppcms/cppcms.mk new file +11
-0@@ -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)
package/cppcms/cppcms.mk new file +5
-0+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 canbe needed
+# for compiling packages using cppcms. And it is not worth creating a hostpackage/cppcms/cppcms.mk new file +3
-0+# 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
package/cppcms/cppcms.mk new file +4
-1+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
PATCH 1/1 cppcms: new package
Any news ?
Thanks everyone.
Nicolas.
----- Mail original -----
Quoted 135 lines
De: "Nicolas Menegale" <[email protected]> ?: buildroot at busybox.net
Cc: "Thomas Petazzoni" <[email protected]> Envoy?: Mardi 21 Mai 2013 12:04:18
Objet: Re: [Buildroot] [PATCH 1/1] cppcms: new packageHi 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 thatcppcms_runwasn't necessary into the host. Onlycppcms_tmplis, as explained in the commentary.What do you think about this v1 ?
Thanks a lot,
Nicolas M?n?gale.----- Mail original -----
Quoted 106 lines
De: "Nicolas Menegale" <[email protected]> ?: buildroot at busybox.net
Cc: "Thomas Petazzoni" <[email protected]> Envoy?: Mardi 21 Mai 2013 11:58:24
Objet: Re: [Buildroot] [PATCH 1/1] cppcms: new packageSigned-off-by Nicolas M?n?gale <[email protected]>---
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 <[email protected]>--- 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.mkpackage/Config.in +1
-0@@ -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"package/cppcms/Config.in new file +15
-0@@ -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 toachieve first
package/cppcms/Config.in new file +6
-0+ goal. + It is aimed on development of both Web Sites and Web Services. + + http://cppcms.com + +comment "cppcms requires a toolchain with C++ & WCHAR supportenabled"
package/cppcms/Config.in new file +1
-0+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHARpackage/cppcms/cppcms.mk new file +11
-0@@ -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)
package/cppcms/cppcms.mk new file +5
-0+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 filecan
be needed
+# for compiling packages using cppcms. And it is not worth creating
a hostpackage/cppcms/cppcms.mk new file +3
-0+# 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
package/cppcms/cppcms.mk new file +4
-1+endef +CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS + +$(eval $(cmake-package)) --Quoted 5 lines
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