Browse Source

package: Add libsigc++ package

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>
H Hartley Sweeten 14 years ago
parent
commit
b98e4d001c
3 changed files with 25 additions and 0 deletions
  1. 1 0
      package/Config.in
  2. 13 0
      package/libsigc/Config.in
  3. 11 0
      package/libsigc/libsigc.mk

+ 1 - 0
package/Config.in

@@ -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
 

+ 13 - 0
package/libsigc/Config.in

@@ -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

+ 11 - 0
package/libsigc/libsigc.mk

@@ -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))