1 DESCRIPTION = "Guile is an interpreter for the Scheme programming language, \
2 packaged as a library which can be incorporated into your programs."
3 HOMEPAGE = "http://www.gnu.org/software/guile/guile.html"
4 SECTION = "devel/scheme"
5 DEPENDS = "guile-native gmp libtool"
8 FILES_${PN}-el = "${datadir}/emacs"
9 DESCRIPTION_${PN}-el = "Emacs lisp files for Guile"
13 acpaths = "-I ${S}/guile-config"
17 --without-included-ltdl \
21 for i in $(find ${S} -name "Makefile") ; do
22 sed -i -e s:-Werror::g $i
25 (cd libguile; oe_runmake CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" guile_filter_doc_snarfage)
26 oe_runmake preinstguile="`which guile`"
28 sed -i -e s:${STAGING_DIR_TARGET}::g \
29 -e s:/${TARGET_SYS}::g \
31 -e s:-isystem/usr/include::g \
32 -e s:,/usr/lib:,\$\{libdir\}:g \
38 # Create guile-config returning target values instead of native values
39 install -d ${STAGING_BINDIR_CROSS}
40 echo '#!'`which guile`$' \\\n-e main -s\n!#\n(define %guile-build-info '\'\( >guile-config.cross
41 sed -n $'s:-isystem[^ ]* ::;s:-Wl,-rpath-link,[^ ]* ::;s:^[ \t]*{[ \t]*": (:;s:",[ \t]*": . ":;s:" *}, *\\\\:"):;/^ (/p' <libguile/libpath.h >>guile-config.cross
42 echo '))' >>guile-config.cross
43 cat guile-config/guile-config >>guile-config.cross
44 install guile-config.cross ${STAGING_BINDIR_CROSS}/guile-config