summaryrefslogtreecommitdiff
path: root/packages/libgc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libgc')
-rw-r--r--packages/libgc/libgc_6.7.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/libgc/libgc_6.7.bb b/packages/libgc/libgc_6.7.bb
new file mode 100644
index 0000000000..243bff39e7
--- /dev/null
+++ b/packages/libgc/libgc_6.7.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.7.tar.gz"
+S = "${WORKDIR}/gc6.7"
+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}/
+}