From: alex.bennee@linaro.org Date: Fri, 11 Apr 2014 14:05:55 +0000 (+0100) Subject: package: add Boehm-Demers-Weiser gc library X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8986a221172cac4f84e74212476c12c288995abf;p=buildroot.git package: add Boehm-Demers-Weiser gc library This is needed for applications like Zile [Thomas: - use $(...) instead of ${...} to reference LIBGC_VERSION - add missing dependency on libatomic_ops dependencies - fix DEPENDANCIES -> DEPENDENCIES - replace += by = in dependencies definition - add host-pkgconf to the list of dependencies - fix license, it's a X11-style permissive license - fix license file, COPYING didn't exist, use README.md instead] Signed-off-by: Alex Bennée Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index 01c7ae949a..51f25159d8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -792,6 +792,7 @@ source "package/libev/Config.in" source "package/libevdev/Config.in" source "package/libevent/Config.in" source "package/libffi/Config.in" +source "package/libgc/Config.in" source "package/libglib2/Config.in" source "package/libical/Config.in" source "package/libnspr/Config.in" diff --git a/package/libgc/Config.in b/package/libgc/Config.in new file mode 100644 index 0000000000..5e23b3da6b --- /dev/null +++ b/package/libgc/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBGC + bool "libgc" + select BR2_PACKAGE_LIBATOMIC_OPS + depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS + help + The Boehm-Demers-Weiser conservative garbage collector can be used + as a garbage collecting replacement for C malloc or C++ new. It allows + you to allocate memory basically as you normally would, without + explicitly deallocating memory that is no longer useful. + + http://www.hboehm.info/gc/ diff --git a/package/libgc/libgc.mk b/package/libgc/libgc.mk new file mode 100644 index 0000000000..a8611f195e --- /dev/null +++ b/package/libgc/libgc.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libgc +# +################################################################################ + +LIBGC_VERSION = 7.4.0 +LIBGC_SOURCE = gc-$(LIBGC_VERSION).tar.gz +LIBGC_SITE = http://www.hboehm.info/gc/gc_source/ +LIBGC_DEPENDENCIES = libatomic_ops host-pkgconf +LIBGC_LICENSE = Permissive X11-style +LIBGC_LICENSE_FILES = README.md +LIBGC_INSTALL_STAGING = YES + +$(eval $(autotools-package))