Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Add libsigc++ package
@ 2010-11-30  1:22 H Hartley Sweeten
  2011-01-15 15:26 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: H Hartley Sweeten @ 2010-11-30  1:22 UTC (permalink / raw)
  To: buildroot

Add support for the libsigc++ library.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>

---

diff --git a/package/Config.in b/package/Config.in
index 03e580a..1f6f7c1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
 
diff --git a/package/libsigc++/Config.in b/package/libsigc++/Config.in
new file mode 100644
index 0000000..8ec674c
--- /dev/null
+++ b/package/libsigc++/Config.in
@@ -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/
diff --git a/package/libsigc++/libsigc.mk b/package/libsigc++/libsigc.mk
new file mode 100644
index 0000000..640c803
--- /dev/null
+++ b/package/libsigc++/libsigc.mk
@@ -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))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] Add libsigc++ package
  2010-11-30  1:22 [Buildroot] [PATCH] Add libsigc++ package H Hartley Sweeten
@ 2011-01-15 15:26 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2011-01-15 15:26 UTC (permalink / raw)
  To: buildroot

>>>>> "H" == H Hartley Sweeten <hartleys@visionengravers.com> writes:

 H> Add support for the libsigc++ library.
 H> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>

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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-15 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30  1:22 [Buildroot] [PATCH] Add libsigc++ package H Hartley Sweeten
2011-01-15 15:26 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox