summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2010-11-30 01:22:20 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-01-15 15:23:06 (GMT)
commitb98e4d001cb8073fa8aefd2193fd70df0274d05e (patch)
tree83e6d4208e769f1b45bd6cb76363a5a75f6ce417
parente5e5f5d8684a23f774baf57e1f75281e9a6519bd (diff)
downloadbuildroot-b98e4d001cb8073fa8aefd2193fd70df0274d05e.tar.gz
buildroot-b98e4d001cb8073fa8aefd2193fd70df0274d05e.tar.bz2
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>
-rw-r--r--package/Config.in1
-rw-r--r--package/libsigc/Config.in13
-rw-r--r--package/libsigc/libsigc.mk11
3 files changed, 25 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 6e42a8f..48f245c 100644
--- a/package/Config.in
+++ b/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
diff --git a/package/libsigc/Config.in b/package/libsigc/Config.in
new file mode 100644
index 0000000..93fa3f4
--- /dev/null
+++ b/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
diff --git a/package/libsigc/libsigc.mk b/package/libsigc/libsigc.mk
new file mode 100644
index 0000000..0b1de14
--- /dev/null
+++ b/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))