diff options
author | Michael Krelin <hacker@klever.net> | 2007-07-11 18:51:19 +0000 |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-11 18:51:19 +0000 |
commit | d029066192d56afa63449a2fc846a51378052d30 (patch) | |
tree | daf9c54de3933483315c1972e0fc3709e124cc7a /packages/libsigc++-2.0 | |
parent | 75dd520287cba973d751626c17f595f603687dbe (diff) | |
parent | 77a8758d3dd5dd89b5a0bc32f62f288e71cabca6 (diff) |
merge of '8654baa6db1769cd516400afebdc63c9b19ee633'
and 'f1821469be3c8f5081df2188813bc21f7d26b8a8'
Diffstat (limited to 'packages/libsigc++-2.0')
3 files changed, 60 insertions, 0 deletions
diff --git a/packages/libsigc++-2.0/libsigc++-2.0-2.0.17/.mtn2git_empty b/packages/libsigc++-2.0/libsigc++-2.0-2.0.17/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libsigc++-2.0/libsigc++-2.0-2.0.17/.mtn2git_empty diff --git a/packages/libsigc++-2.0/libsigc++-2.0-2.0.17/define_sigc_api.patch b/packages/libsigc++-2.0/libsigc++-2.0-2.0.17/define_sigc_api.patch new file mode 100644 index 0000000000..ba17293733 --- /dev/null +++ b/packages/libsigc++-2.0/libsigc++-2.0-2.0.17/define_sigc_api.patch @@ -0,0 +1,15 @@ +Index: libsigc++-2.0.17/configure.ac +=================================================================== +--- libsigc++-2.0.17.orig/configure.ac 2005-12-20 08:41:21.000000000 +0000 ++++ libsigc++-2.0.17/configure.ac 2007-07-11 11:33:55.000000000 +0100 +@@ -105,6 +105,10 @@ + SIGC_CXX_HAS_NAMESPACE_STD() + SIGC_CXX_HAS_SUN_REVERSE_ITERATOR() + ++dnl FIXME Define this here since it does not seem to be defined elsewhere ++AC_DEFINE(SIGC_API, [], [Empty specifier]) ++AC_DEFINE(SIGC_USING_STD(Symbol), [], [Empty specifier]) ++ + if test "X$config_error" = "Xyes" ; then + AC_ERROR( + [One or more of the required compiler features is missing. diff --git a/packages/libsigc++-2.0/libsigc++-2.0_2.0.17.bb b/packages/libsigc++-2.0/libsigc++-2.0_2.0.17.bb new file mode 100644 index 0000000000..cc122993bc --- /dev/null +++ b/packages/libsigc++-2.0/libsigc++-2.0_2.0.17.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "A library for loose coupling of C++ method calls" +SECTION = "libs" +PRIORITY = "optional" +PR = "r1" +LICENSE = "GPL LGPL" +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-${PV}.tar.gz \ + file://define_sigc_api.patch;patch=1 " +S = "${WORKDIR}/libsigc++-${PV}" + +inherit autotools pkgconfig + +FILES_${PN}-dev += "${libdir}/sigc++-*/" + +# acpaths = "" + +do_stage() { + install -d ${STAGING_LIBDIR}/sigc++-2.0/include + install -m 0644 sigc++config.h ${STAGING_LIBDIR}/sigc++-2.0/include/ + oe_libinstall -so -C sigc++ libsigc-2.0 ${STAGING_LIBDIR} + + install -d ${STAGING_INCDIR}/sigc++-2.0/sigc++ + for f in sigc++/*.h + do + install -m 0644 $f ${STAGING_INCDIR}/sigc++-2.0/sigc++/ + done + install -d ${STAGING_INCDIR}/sigc++-2.0/sigc++/functors + for f in sigc++/functors/*.h + do + install -m 0644 $f ${STAGING_INCDIR}/sigc++-2.0/sigc++/functors + done + + install -d ${STAGING_INCDIR}/sigc++-2.0/sigc++/adaptors + for f in sigc++/adaptors/*.h + do + install -m 0644 $f ${STAGING_INCDIR}/sigc++-2.0/sigc++/adaptors + done + install -d ${STAGING_INCDIR}/sigc++-2.0/sigc++/adaptors/lambda + for f in sigc++/adaptors/lambda/*.h + do + install -m 0644 $f ${STAGING_INCDIR}/sigc++-2.0/sigc++/adaptors/lambda + done + + +} + |