summaryrefslogtreecommitdiff
path: root/recipes/chicken/chicken-cross_4.4.0.bb
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2010-03-16 15:45:17 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2010-03-17 18:26:38 -0300
commit3e87f78f406699aaaad139e1cb184f4337073c37 (patch)
tree2d8c800d4260a63b64a8575deef24c781e9f1f18 /recipes/chicken/chicken-cross_4.4.0.bb
parent5eb0c55119af8a99b0106e1c881448d73b3b3d37 (diff)
chicken-cross: added recipe for chicken-cross version 4.4.0
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/chicken/chicken-cross_4.4.0.bb')
-rw-r--r--recipes/chicken/chicken-cross_4.4.0.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/chicken/chicken-cross_4.4.0.bb b/recipes/chicken/chicken-cross_4.4.0.bb
new file mode 100644
index 0000000000..387247b58a
--- /dev/null
+++ b/recipes/chicken/chicken-cross_4.4.0.bb
@@ -0,0 +1,26 @@
+require chicken.inc
+
+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"