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 <alex.bennee@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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"
--- /dev/null
+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/
--- /dev/null
+################################################################################
+#
+# 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))