summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/libgc/Config.in8
-rw-r--r--package/libgc/libgc.mk16
2 files changed, 24 insertions, 0 deletions
diff --git a/package/libgc/Config.in b/package/libgc/Config.in
new file mode 100644
index 0000000..e683beb
--- /dev/null
+++ b/package/libgc/Config.in
@@ -0,0 +1,8 @@
+# dependencies taken from rpi-userland
+
+config BR2_PACKAGE_LIBGC
+ bool "libgc"
+ help
+ Boehms Garbage collector
+
+ https://www.hboehm.info/gc/
diff --git a/package/libgc/libgc.mk b/package/libgc/libgc.mk
new file mode 100644
index 0000000..d3d04f3
--- /dev/null
+++ b/package/libgc/libgc.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# libgc
+#
+################################################################################
+
+LIBGC_VERSION = 8.2.4
+LIBGC_SITE = https://www.hboehm.info/gc/gc_source
+LIBGC_SOURCE = gc-$(LIBGC_VERSION).tar.gz
+
+LIBGC_CONF_OPTS = --with-libatomic-ops=none
+
+# needed for w3m build?
+LIBGC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))