[oe-commits] org.oe.dev chicken: update to 3.3.0. Closes 4433.

Laibsch commit oe at amethyst.openembedded.net
Fri Jul 25 01:07:48 UTC 2008


chicken: update to 3.3.0.  Closes 4433.

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: e602119536f0997dbd31b30bf7be54cb217e3f1b
ViewMTN: http://monotone.openembedded.org/revision/info/e602119536f0997dbd31b30bf7be54cb217e3f1b
Files:
1
packages/chicken/chicken3.inc
packages/chicken/chicken_3.3.0.bb
Diffs:

#
# mt diff -rf960843459326876ef399375d5affaacc45d0a46 -re602119536f0997dbd31b30bf7be54cb217e3f1b
#
#
#
# add_file "packages/chicken/chicken3.inc"
#  content [eca5e2f2c55bcdbd7dcf4f1e8ea89ac39b3666d3]
# 
# add_file "packages/chicken/chicken_3.3.0.bb"
#  content [e3d4c6f918157f83c51655334e7236c3b04a022d]
#
============================================================
--- packages/chicken/chicken3.inc	eca5e2f2c55bcdbd7dcf4f1e8ea89ac39b3666d3
+++ packages/chicken/chicken3.inc	eca5e2f2c55bcdbd7dcf4f1e8ea89ac39b3666d3
@@ -0,0 +1,36 @@
+DESCRIPTION = "A compiler that translates Scheme source files to C, and an interpreter"
+HOMEPAGE = "http://www.call-with-current-continuation.org/"
+SECTION = "interpreters"
+PRIORITY = "optional"
+LICENSE = "BSD"
+
+SRC_URI = "http://chicken.wiki.br/releases/${PV}/chicken-${PV}.tar.gz"
+
+inherit autotools
+
+do_compile() {
+    export PLATFORM=linux
+    export PREFIX=${prefix}
+    export HOST=${TARGET_ARCH}-${DISTRO}-${TARGET_OS}
+    export C_COMPILER=${HOST}-gcc 
+    export LIBRARIAN=${HOST}-ar
+    # ARCH= is weird... but it's not enough to export this variable.
+    # If ARCH is not set to empty-string, then the Makefile will try to 
+    # use the apply-hack.s file applicable to the machine doing the compiling.
+    # There is no such apply-hack assembler code for arm, at least not yet.
+    make ARCH=
+}
+
+do_install() {
+    export PLATFORM=linux
+    export PREFIX=${prefix}
+    export HOST=${TARGET_ARCH}-${DISTRO}-${TARGET_OS}
+    export C_COMPILER=${HOST}-gcc 
+    export LIBRARIAN=${HOST}-ar
+    make ARCH= DESTDIR=${D} install
+}
+
+FILES_${PN} = "${bindir}/csi ${bindir}/chicken-bug"
+FILES_${PN} += "${libdir}/lib*.so.* ${libdir}/chicken"
+FILES_${PN} += "${datadir}/chicken/*.*"
+FILES_${PN}-dev += "${bindir}"
============================================================
--- packages/chicken/chicken_3.3.0.bb	e3d4c6f918157f83c51655334e7236c3b04a022d
+++ packages/chicken/chicken_3.3.0.bb	e3d4c6f918157f83c51655334e7236c3b04a022d
@@ -0,0 +1 @@
+require chicken3.inc






More information about the Openembedded-commits mailing list