summaryrefslogtreecommitdiff
path: root/recipes/chicken
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2009-11-27 14:46:20 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2009-11-27 21:47:27 -0200
commit0ad83bc173f0b65119722bcae8f2411b2815e6b9 (patch)
tree4a38c76a4d552996ffc5f79953a8a9d6aaeb98d3 /recipes/chicken
parentf200c0f5605fbf085969ec0bc44851af16a616e7 (diff)
chicken: Added recipes for chicken 4.2.10
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Diffstat (limited to 'recipes/chicken')
-rw-r--r--recipes/chicken/chicken-cross_4.2.10.bb27
-rw-r--r--recipes/chicken/chicken-snapshot.inc13
-rw-r--r--recipes/chicken/chicken_4.2.10.bb24
3 files changed, 64 insertions, 0 deletions
diff --git a/recipes/chicken/chicken-cross_4.2.10.bb b/recipes/chicken/chicken-cross_4.2.10.bb
new file mode 100644
index 0000000000..f884b1096d
--- /dev/null
+++ b/recipes/chicken/chicken-cross_4.2.10.bb
@@ -0,0 +1,27 @@
+require chicken-snapshot.inc
+
+DEPENDS = "chicken"
+PR = "${INC_PR}.1"
+
+inherit cross
+
+do_compile() {
+ make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR_TARGET}${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" LIBRARIAN=ar
+}
+
+do_install() {
+ make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR_TARGET}${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" LIBRARIAN=ar install
+}
+
+do_stage() {
+ make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR_TARGET}${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" LIBRARIAN=ar install
+}
+
+PACKAGES += "chicken-bin libchicken libuchicken"
+
+FILES_${PN} = ""
+FILES_libchicken = "${libdir}/libchicken.so.*"
+FILES_libuchicken = "${libdir}/libuchicken.so.*"
+FILES_${PN}-bin = "${bindir}/* ${datadir}/chicken/*.* ${libdir}/chicken/*/*.so"
+FILES_${PN}-doc += "${datadir}/chicken/doc"
+FILES_${PN}-dbg += "${libdir}/chicken/*/.debug"
diff --git a/recipes/chicken/chicken-snapshot.inc b/recipes/chicken/chicken-snapshot.inc
new file mode 100644
index 0000000000..5fddee279a
--- /dev/null
+++ b/recipes/chicken/chicken-snapshot.inc
@@ -0,0 +1,13 @@
+ESCRIPTION = "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"
+INC_PR = "r3"
+
+SRC_URI = "http://chicken.wiki.br/dev-snapshots/2009/11/24/chicken-${PV}.tar.gz"
+
+# Parallel building is not supported
+PARALLEL_MAKE = ""
+
+inherit chicken
diff --git a/recipes/chicken/chicken_4.2.10.bb b/recipes/chicken/chicken_4.2.10.bb
new file mode 100644
index 0000000000..de002dd92a
--- /dev/null
+++ b/recipes/chicken/chicken_4.2.10.bb
@@ -0,0 +1,24 @@
+require chicken-snapshot.inc
+
+PR = "${INC_PR}.1"
+
+do_compile() {
+ make PLATFORM="linux" DESTDIR="${D}" PREFIX="${prefix}" HOSTSYSTEM="${TARGET_SYS}" ARCH=${CHICKEN_ARCH}
+}
+
+do_install() {
+ make PLATFORM="linux" DESTDIR="${D}" PREFIX="${prefix}" HOSTSYSTEM="${TARGET_SYS}" ARCH=${CHICKEN_ARCH} install
+}
+
+do_stage() {
+ make PLATFORM="linux" DESTDIR="${STAGING_DIR_TARGET}" PREFIX="${prefix}" HOSTSYSTEM="${TARGET_SYS}" ARCH=${CHICKEN_ARCH} install
+}
+
+PACKAGES += "chicken-bin libchicken libuchicken"
+
+FILES_${PN} = ""
+FILES_libchicken = "${libdir}/libchicken.so.*"
+FILES_libuchicken = "${libdir}/libuchicken.so.*"
+FILES_${PN}-bin = "${bindir}/* ${datadir}/chicken/*.* ${libdir}/chicken/*/*.so"
+FILES_${PN}-doc += "${datadir}/chicken/doc"
+FILES_${PN}-dbg += "${libdir}/chicken/*/.debug"