Add support for the libsigc++ library.
[Peter: Rename dir, use libtool patch, add C++ dep]
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
source "package/libevent/Config.in"
source "package/libglib2/Config.in"
source "package/liboil/Config.in"
+source "package/libsigc/Config.in"
source "package/startup-notification/Config.in"
endmenu
--- /dev/null
+config BR2_PACKAGE_LIBSIGC
+ bool "libsigc++"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ libsigc++ implements a typesafe callback system for standard C++.
+ It allows you to define signals and to connect those signals to
+ any callback function, either global or a member function,
+ regardless of whether it is static or virtual.
+
+ http://libsigc.sourceforge.net/
+
+comment "libsigc++ requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP
--- /dev/null
+#############################################################
+#
+# libsigc++
+#
+#############################################################
+LIBSIGC_VERSION = 2.2.8
+LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.bz2
+LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2
+LIBSIGC_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS,package,libsigc))