summaryrefslogtreecommitdiff
path: root/packages/guile/guile_1.8.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/guile/guile_1.8.5.bb')
-rw-r--r--packages/guile/guile_1.8.5.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/guile/guile_1.8.5.bb b/packages/guile/guile_1.8.5.bb
new file mode 100644
index 0000000000..0fd648398a
--- /dev/null
+++ b/packages/guile/guile_1.8.5.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "Guile is an interpreter for the Scheme programming language, \
+packaged as a library which can be incorporated into your programs."
+HOMEPAGE = "http://www.gnu.org/software/guile/guile.html"
+SECTION = "devel/scheme"
+DEPENDS = "guile-native"
+LICENSE = "GPL"
+
+SRC_URI = "http://ftp.gnu.org/pub/gnu/guile/guile-${PV}.tar.gz \
+ file://configure-fix.patch;patch=1 "
+
+inherit autotools
+
+acpaths = "-I ${S}/guile-config"
+
+EXTRA_OECONF = " \
+ --without-threads \
+ --without-included-ltdl \
+ "
+
+do_compile() {
+ (cd libguile; oe_runmake CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" guile_filter_doc_snarfage)
+ oe_runmake preinstguile="`which guile`"
+
+ sed -i -e s:${STAGING_DIR_TARGET}::g \
+ -e s:/${TARGET_SYS}::g \
+ guile-1.8.pc
+}
+
+do_stage() {
+ autotools_stage_all
+}
+