summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authoruvok cheetah2024-09-11 20:33:34 +0200
committeruvok cheetah2024-09-11 20:33:34 +0200
commit42384f036e37524f08bcf381c9212cd9e53d6521 (patch)
tree6ab820776e07381dd6e8a99966458a11a032e6a2 /package
parent020688d55a65868959a94eb5f118299043732fec (diff)
Add libgc
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))