summaryrefslogtreecommitdiff
path: root/recipes/chicken/chicken.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/chicken/chicken.inc')
-rw-r--r--recipes/chicken/chicken.inc46
1 files changed, 3 insertions, 43 deletions
diff --git a/recipes/chicken/chicken.inc b/recipes/chicken/chicken.inc
index f0126a9c16..e147dc1548 100644
--- a/recipes/chicken/chicken.inc
+++ b/recipes/chicken/chicken.inc
@@ -5,50 +5,10 @@ PRIORITY = "optional"
LICENSE = "BSD"
INC_PR = "r1"
-SRC_URI = "http://chicken.wiki.br/releases/${PV}/chicken-${PV}.tar.gz"
+SRC_URI = "http://chicken.wiki.br/releases/${PV}/chicken-${PV}.tar.gz \
+ file://soname.patch;patch=1"
# Parallel building is not supported
PARALLEL_MAKE = ""
-# Required environment values
-export PLATFORM="linux"
-export PREFIX="${prefix}"
-export LIBRARIAN="${TARGET_PREFIX}"
-export TARGETSYSTEM="${TARGET_SYS}"
-
-do_compile() {
- case ${TARGET_ARCH} in
- i*86)
- ARCH=x86
- ;;
- *)
- echo "Check ARCH value for ${TARGET_ARCH}"
- exit 1
- ;;
- esac
-
- make ARCH=${ARCH} TARGET_C_COMPILER=gcc
-}
-
-do_install() {
- case ${TARGET_ARCH} in
- i*86)
- ARCH=x86
- ;;
- *)
- echo "Check ARCH value for ${TARGET_ARCH}"
- exit 1
- ;;
- esac
-
- make ARCH=${ARCH} DESTDIR=${D} 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"
+inherit chicken