summaryrefslogtreecommitdiff
path: root/packages/libgc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libgc')
-rw-r--r--packages/libgc/.mtn2git_empty0
-rw-r--r--packages/libgc/libgc_6.5.bb22
2 files changed, 22 insertions, 0 deletions
diff --git a/packages/libgc/.mtn2git_empty b/packages/libgc/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libgc/.mtn2git_empty
diff --git a/packages/libgc/libgc_6.5.bb b/packages/libgc/libgc_6.5.bb
new file mode 100644
index 0000000000..143b62dcec
--- /dev/null
+++ b/packages/libgc/libgc_6.5.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Garbage collector for C and C++"
+LICENSE = "As is"
+HOMEPAGE = "http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
+
+DEPENDS = "sed-native"
+SRC_URI = "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.5.tar.gz"
+S = "${WORKDIR}/gc6.5"
+FILES_${PN}-doc += "/usr/share/gc/"
+
+inherit autotools
+
+do_configure_append() {
+ #fix libtool script
+ sed -i 's:${SED}:sed:g' libtool
+ sed -i 's:$SED:sed:g' libtool
+}
+
+do_stage() {
+ autotools_stage_includes
+ install -d ${STAGING_LIBDIR}
+ install -m 755 .libs/libgc.so* ${STAGING_LIBDIR}/
+}