Fix uae build. Specify location of sdl and zlib, add m4 patch so the autotools execu...
authorChris Larson <clarson@kergoth.com>
Fri, 5 Mar 2004 22:31:52 +0000 (22:31 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 5 Mar 2004 22:31:52 +0000 (22:31 +0000)
BKrev: 4048ffd8pqv4U01MT9Jf6QyApYkGzw

uae/uae-0.8.23-20040129/configure.patch
uae/uae-0.8.23-20040129/m4.patch [new file with mode: 0644]
uae/uae_0.8.23-20040129.oe

index e69de29..bd2ecce 100644 (file)
@@ -0,0 +1,9 @@
+--- tmp/base/uae-0.8.23-20040129-r0/uae-0.8.23-20040129/configure.in   2004-01-29 00:38:18.000000000 -0500
++++ uae-0.8.23-20040129/configure.in   2004-03-05 17:26:12.000000000 -0500
+@@ -1032,5 +1032,5 @@
+   export CC=$CC_FOR_BUILD
+   export CFLAGS=$CFLAGS_FOR_BUILD
+   mkdir -p src/tools
+-  cd  src/tools && ../../"$srcdir"/src/tools/configure --cache-file=/dev/null --host=$build --target=$host
++  cd  src/tools && "$srcdir"/src/tools/configure --cache-file=/dev/null --host=$build --target=$host
+ fi
diff --git a/uae/uae-0.8.23-20040129/m4.patch b/uae/uae-0.8.23-20040129/m4.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..9415f4b 100644 (file)
@@ -0,0 +1,34 @@
+DESCRIPTION="Amiga Emulator based on SDL"
+SECTION="base"
+PRIORITY="optional"
+RDEPENDS="libc6 libsdl-qpe"
+DEPENDS=virtual/libc libsdl-qpe
+
+SRC_URI = http://rcdrummond.net/${PN}/${P}/${P}.tar.bz2 \
+          file://${FILESDIR}/configure.patch;patch=1 \
+          file://${FILESDIR}/m4.patch;patch=1
+
+inherit autotools libtool
+
+EXTRA_OECONF = "--with-hostcc=gcc --disable-ui --without-x \
+               --without-gtk --enable-jit --disable-natmem \
+               --with-zlib=${STAGING_LIBDIR}/.. \
+               --with-sdl-exec-prefix=${STAGING_BINDIR}/.. \
+               --with-sdl-prefix=${STAGING_LIBDIR}/.."
+
+CFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
+CXXFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
+
+do_configure_prepend () {
+       touch NEWS AUTHORS ChangeLog
+}
+
+do_install_append() {
+# Packages NEVER, ever, ever, ever touch home directories directly.
+# ever.
+# Either update a global config in /etc, install it into /etc/skel/ for
+# new users homedirs, rely on the user installing it to put it in place,
+# or dont install it at all.  --CL
+#      install -d ${D}/home/root
+#      install ${FILESDIR}/uaerc ${D}/home/root/.uaerc
+}