summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-07-25 01:23:16 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-07-25 01:23:16 +0000
commit3c011708443e648c0fdc52c796215266fbb95d4a (patch)
treec142ee7b379dc20c0d3bae3844bcb11583a43ed2 /packages
parente96e82cd7ee95d712e2c68f2f9540bdfe727645b (diff)
parentc947d9a9b96f0e941714255854f4dbb35d080490 (diff)
merge of '49b1d83eae7f83143eba2ca3c77c40ebb33a61cc'
and 'ae2c3da1cb5d209add155e318d2befb8b40328b6'
Diffstat (limited to 'packages')
-rw-r--r--packages/chicken/chicken2.inc (renamed from packages/chicken/chicken.inc)0
-rw-r--r--packages/chicken/chicken3.inc36
-rw-r--r--packages/chicken/chicken_2.6.bb2
-rw-r--r--packages/chicken/chicken_3.3.0.bb1
4 files changed, 38 insertions, 1 deletions
diff --git a/packages/chicken/chicken.inc b/packages/chicken/chicken2.inc
index fbaf971f88..fbaf971f88 100644
--- a/packages/chicken/chicken.inc
+++ b/packages/chicken/chicken2.inc
diff --git a/packages/chicken/chicken3.inc b/packages/chicken/chicken3.inc
new file mode 100644
index 0000000000..2feebfb48a
--- /dev/null
+++ b/packages/chicken/chicken3.inc
@@ -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}"
diff --git a/packages/chicken/chicken_2.6.bb b/packages/chicken/chicken_2.6.bb
index 713552b3e9..934ef4a218 100644
--- a/packages/chicken/chicken_2.6.bb
+++ b/packages/chicken/chicken_2.6.bb
@@ -1 +1 @@
-require chicken.inc
+require chicken2.inc
diff --git a/packages/chicken/chicken_3.3.0.bb b/packages/chicken/chicken_3.3.0.bb
new file mode 100644
index 0000000000..7d9fc69419
--- /dev/null
+++ b/packages/chicken/chicken_3.3.0.bb
@@ -0,0 +1 @@
+require chicken3.inc