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>
This commit is contained in:
H Hartley Sweeten 2010-11-29 18:22:20 -07:00 committed by Peter Korsgaard
parent e5e5f5d868
commit b98e4d001c
3 changed files with 25 additions and 0 deletions

View 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

13
package/libsigc/Config.in Normal file
View File

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

View File

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