diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2009-11-05 12:59:17 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2009-11-05 12:59:57 -0200 |
commit | 0da71f8df5d8956f3c76677c12c56367da4287f9 (patch) | |
tree | b4cc009c379edf360585ae1ac9defbdffc2ee030 /recipes/chicken | |
parent | 2b1a41cbb8297f4ba64cbcb99b50cae089d1cf5b (diff) |
chicken.inc: fix install and compilation issues
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/chicken')
-rw-r--r-- | recipes/chicken/chicken.inc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/recipes/chicken/chicken.inc b/recipes/chicken/chicken.inc index f0126a9c16..9aebc4f5d5 100644 --- a/recipes/chicken/chicken.inc +++ b/recipes/chicken/chicken.inc @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.call-with-current-continuation.org/" SECTION = "interpreters" PRIORITY = "optional" LICENSE = "BSD" -INC_PR = "r1" +INC_PR = "r2" SRC_URI = "http://chicken.wiki.br/releases/${PV}/chicken-${PV}.tar.gz" @@ -13,14 +13,21 @@ PARALLEL_MAKE = "" # Required environment values export PLATFORM="linux" export PREFIX="${prefix}" -export LIBRARIAN="${TARGET_PREFIX}" +export HOSTSYSTEM="${HOST_SYS}" export TARGETSYSTEM="${TARGET_SYS}" +export INSTALL_PROGRAM_SHARED_LIBRARY_OPTIONS="-m 755" +export INSTALL_PROGRAM_STATIC_LIBRARY_OPTIONS="-m 644" +export INSTALL_PROGRAM_EXECUTABLE_OPTIONS="-m 755" +export INSTALL_PROGRAM_FILE_OPTIONS="-m 644" do_compile() { case ${TARGET_ARCH} in i*86) ARCH=x86 ;; + x86_64) + ARCH=x86-64 + ;; *) echo "Check ARCH value for ${TARGET_ARCH}" exit 1 @@ -35,6 +42,9 @@ do_install() { i*86) ARCH=x86 ;; + x86_64) + ARCH=x86-64 + ;; *) echo "Check ARCH value for ${TARGET_ARCH}" exit 1 |