[squeak] Attempt to add squeak 3.10-1
authorHolger Hans Peter Freyther <zecke@openmoko.org>
Thu, 2 Oct 2008 12:05:18 +0000 (14:05 +0200)
committerHolger Freyther <ich@tamarin.(none)>
Wed, 15 Oct 2008 16:53:36 +0000 (18:53 +0200)
    - This does configure
    - But it fails to link, there is something wrong with the
      autoreconf...

conf/checksums.ini
packages/squeak/squeakvm_3.10.1.bb [new file with mode: 0644]
site/arm-linux

index c05f1a3..1c7a1f7 100644 (file)
@@ -13350,6 +13350,10 @@ sha256=750a7a4896d782698a0f531ca30582f0ddd365fe317a04c4dd4fa1ce2eb053eb
 md5=c252e5286b142afa54ca49829c51a33f
 sha256=ec3159feae5324e78f7fc09f8f534bd6a3e7ed735144ee8a8e9e7871e77115e0
 
+[http://www.squeakvm.org/unix/release/Squeak-3.10-1.src.tar.gz]
+md5=7fbac029115831d18422f3079dbb0444
+sha256=d5e9cab31f25f842f42bde153e04b93547b559e75da08f1b997a47f70d003133
+
 [http://downloads.sourceforge.net/fuse/sshfs-fuse-1.3.tar.gz]
 md5=40fe4a353d03b80f8b37e4b0cc6159d3
 sha256=f80f713105fc0747197b6e5d2440cd77205cb1febe25b7b4fe08809ab67ace26
diff --git a/packages/squeak/squeakvm_3.10.1.bb b/packages/squeak/squeakvm_3.10.1.bb
new file mode 100644 (file)
index 0000000..cb4db99
--- /dev/null
@@ -0,0 +1,28 @@
+DESCRIPTION = "Squeak VM"
+LICENSE = "Squeak License"
+HOMEPAGE = "http://www.squeakvm.org"
+DEPENDS = "virtual/libx11"
+
+EXTRA_OECONF += " --with-x --without-npsqueak"
+
+
+SRC_URI = "http://www.squeakvm.org/unix/release/Squeak-3.10-1.src.tar.gz \
+           file://configure-fixes.patch;patch=1"
+S = "${WORKDIR}/Squeak-3.10-1/platforms/unix/config"
+
+inherit autotools
+
+do_configure_prepend() {
+    mkdir ${WORKDIR}/Squeak-3.10-1/platforms/unix/bld
+    cd ${WORKDIR}/Squeak-3.10-1/platforms/unix/bld
+}
+
+do_compile_append() {
+    cd ${WORKDIR}/Squeak-3.10-1/platforms/unix/bld
+    find . -name 'Makefile' -exec sed -i s/@X_INCLUDES@//g {} \;
+    find . -name 'Makefile' -exec sed -i s/@X_LIBS@//g {} \;
+}
+
+do_install_prepend() {
+    cd ${WORKDIR}/Squeak-3.10-1/platforms/unix/bld
+}
index 033366a..af008c5 100644 (file)
@@ -179,3 +179,7 @@ gnet_sockaddr_family_field_name=${gnet_sockaddr_family_field_name=ss_family}
 
 # rp-pppoe
 rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}
+
+# squeak (forbid unaliged access)
+ac_cv_double_align=${ac_cv_double_align=no}                           
+ac_cv_double_order=${ac_cv_double_order=no}