[package] add poco C++ library

The included patch modifies the poco configure script by adding an option
to disable the support of shared memory  (not supported by uclibc).

It can be improved by disabling the compiling of the debug version of the
libraries - they are currently not included in the ipkg, but are still compiled.

Signed-off-by: Nicolas Leonard <leonard.nicolas@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22910 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2010-09-04 18:03:54 +00:00
parent 296bfe7550
commit e2097a671f
2 changed files with 84 additions and 0 deletions

View File

@ -0,0 +1,26 @@
--- a/configure
+++ b/configure
@@ -50,6 +50,11 @@
Useful if your C++ compiler has incomplete floating-point support
(such as uClibc-based systems).
+ --no-sharedmemory
+ Compile with -DPOCO_NO_SHAREDMEMORY
+ Useful if your C++ compiler has incomplete shared memory support
+ (such as uClibc-based systems).
+
--omit=<component>{,<component>}
Do not build the specified component(s).
Example: --omit=Data/MySQL,Data/ODBC,Zip
@@ -140,6 +145,10 @@
flags="$flags -DPOCO_NO_FPENVIRONMENT"
fi
+ if [ "$1" = "--no-sharedmemory" ] ; then
+ flags="$flags -DPOCO_NO_SHAREDMEMORY"
+ fi
+
if [ "$1" = "--poquito" ] ; then
flags="$flags -DPOCO_NO_FILECHANNEL -DPOCO_NO_SPLITTERCHANNEL -DPOCO_NO_SYSLOGCHANNEL -DPOCO_UTIL_NO_INIFILECONFIGURATION -DPOCO_UTIL_NO_XMLCONFIGURATION"
fi