diff options
author | Graeme Gregory <dp@xora.org.uk> | 2007-07-11 11:13:14 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2007-07-11 11:13:14 +0000 |
commit | 7645119d6adc2385fe991ee436e1a7040c16d122 (patch) | |
tree | dd754d292a90b4dff88571af1415c5f05203eea3 /packages/libsigc++-2.0 | |
parent | 378a7e927649dcfaab9e0e54a1dc3c106724ecd3 (diff) |
libsigc++-2.0_2.0.17.bb : version bump for this package, this builds with
autoconf 2.61
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 + + +} + |