libsigc++-2.0_2.0.17.bb : version bump for this package, this builds with
authorGraeme Gregory <dp@xora.org.uk>
Wed, 11 Jul 2007 11:13:14 +0000 (11:13 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Wed, 11 Jul 2007 11:13:14 +0000 (11:13 +0000)
autoconf 2.61

packages/libsigc++-2.0/libsigc++-2.0-2.0.17/.mtn2git_empty [new file with mode: 0644]
packages/libsigc++-2.0/libsigc++-2.0-2.0.17/define_sigc_api.patch [new file with mode: 0644]
packages/libsigc++-2.0/libsigc++-2.0_2.0.17.bb [new file with mode: 0644]

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 (file)
index 0000000..e69de29
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 (file)
index 0000000..ba17293
--- /dev/null
@@ -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 (file)
index 0000000..cc12299
--- /dev/null
@@ -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
+
+
+}
+