Add libsigc++ package
PATCH 1/1 Add libsigc++ package
Add support for the libsigc++ library.
---
package/Config.in +1 -0
@@ -322,6 +322,7 @@ source "package/libevent/Config.in" source "package/libfloat/Config.in" source "package/libglib2/Config.in" source "package/liboil/Config.in" +source "package/libsigc++/Config.in" source "package/startup-notification/Config.in" endmenu
package/libsigc++/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBSIGC + bool "libsigc++" + 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/
package/libsigc++/libsigc.mk new file +12 -0
@@ -0,0 +1,12 @@ +############################################################# +# +# 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_LIBTOOL_PATCH = NO +LIBSIGC_INSTALL_STAGING = YES + +$(eval $(call AUTOTARGETS,package,libsigc))
PATCH 1/1 Add libsigc++ package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"H" == H Hartley Sweeten <[email protected]> writes:
H> Add support for the libsigc++ library.
H> Signed-off-by: H Hartley Sweeten <[email protected]>
Thanks, committed with a few tweaks (see below).
H> diff --git a/package/Config.in b/package/Config.in H> index 03e580a..1f6f7c1 100644
H> --- a/package/Config.in
H> +++ b/package/Config.in
H> @@ -322,6 +322,7 @@ source "package/libevent/Config.in"
H> source "package/libfloat/Config.in" H> source "package/libglib2/Config.in" H> source "package/liboil/Config.in"
H> +source "package/libsigc++/Config.in"
H> source "package/startup-notification/Config.in" H> endmenu
H> diff --git a/package/libsigc++/Config.in b/package/libsigc++/Config.in H> new file mode 100644
H> index 0000000..8ec674c
H> --- /dev/null
H> +++ b/package/libsigc++/Config.in
H> @@ -0,0 +1,9 @@
H> +config BR2_PACKAGE_LIBSIGC
H> + bool "libsigc++"
You need to depend on C++ support.
H> + help
H> + libsigc++ implements a typesafe callback system for standard C++. H> + It allows you to define signals and to connect those signals to H> + any callback function, either global or a member function, H> + regardless of whether it is static or virtual.
H> +
H> + http://libsigc.sourceforge.net/
H> diff --git a/package/libsigc++/libsigc.mk b/package/libsigc++/libsigc.mk H> new file mode 100644
H> index 0000000..640c803
H> --- /dev/null
H> +++ b/package/libsigc++/libsigc.mk
AUTOTARGETS expects the package directory to be the same as the package name, otherwise it won't find patches.
H> @@ -0,0 +1,12 @@
H> +############################################################# H> +#
H> +# libsigc++
H> +#
H> +############################################################# H> +LIBSIGC_VERSION = 2.2.8
H> +LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.bz2 H> +LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2
H> +LIBSIGC_LIBTOOL_PATCH = NO
We now have libtool v2.2 patch support, so this line can go.
Signature · 1 line
Bye, Peter Korsgaard