package: Add libsigc++ package
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 30 Nov 2010 01:22:20 +0000 (18:22 -0700)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 15 Jan 2011 15:23:06 +0000 (16:23 +0100)
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>
package/Config.in
package/libsigc/Config.in [new file with mode: 0644]
package/libsigc/libsigc.mk [new file with mode: 0644]

index 6e42a8fe7b1dcd5c86eae47a9a37b883208c9533..48f245c7108ddc85f2ad67ab2363227f0e787990 100644 (file)
@@ -329,6 +329,7 @@ source "package/libelf/Config.in"
 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
 
diff --git a/package/libsigc/Config.in b/package/libsigc/Config.in
new file mode 100644 (file)
index 0000000..93fa3f4
--- /dev/null
@@ -0,0 +1,13 @@
+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
diff --git a/package/libsigc/libsigc.mk b/package/libsigc/libsigc.mk
new file mode 100644 (file)
index 0000000..0b1de14
--- /dev/null
@@ -0,0 +1,11 @@
+#############################################################
+#
+# 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))