summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mozilla/minimo_cvs.oe17
1 files changed, 8 insertions, 9 deletions
diff --git a/mozilla/minimo_cvs.oe b/mozilla/minimo_cvs.oe
index b40b9460e3..3c7ed2e266 100644
--- a/mozilla/minimo_cvs.oe
+++ b/mozilla/minimo_cvs.oe
@@ -8,8 +8,8 @@ MAINTAINER = "Phil Blundell <pb@handhelds.org>"
SECTION = "x11"
PRIORITY = "optional"
PV = "0.0cvs${CVSDATE}"
-FILES_${PN} += " ${libdir}/mozilla-minimo"
-PR = "r1"
+FILES_${PN} += "${libdir}/mozilla-minimo"
+PR = "r2"
export MINIMO=1
export CROSS_COMPILE=1
@@ -18,6 +18,7 @@ export CXX=${CC}
export HOST_LIBIDL_CONFIG="libIDL-config-2"
export MOZ_OBJDIR="${WORKDIR}/build-${TARGET_SYS}"
export MOZCONFIG="${WORKDIR}/mozconfig"
+SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
do_fetch () {
mkdir -p ${WORKDIR}
@@ -31,20 +32,18 @@ do_fetch () {
fi
}
-#do_configure () {
-# cp embedding/minimo/mozconfig .
-#}
-
do_compile () {
make -f client.mk build_all
cd $MOZ_OBJDIR/embedding/minimo
make
}
+mozdir="${D}${libdir}/mozilla-minimo"
+
do_install () {
- mkdir -p ${D}/${libdir}/mozilla-minimo
- cp -rH $MOZ_OBJDIR/dist/bin/* ${D}/${libdir}/mozilla-minimo/
- rm -f ${D}${libdir}/mozilla-minimo/TestGtkEmbed
+ mkdir -p ${mozdir}
+ cp -rL $MOZ_OBJDIR/dist/bin/* ${mozdir}/
+ rm -f ${mozdir}/TestGtkEmbed
mkdir -p ${D}/${datadir}/applications
install -m 0644 embedding/minimo/ipkg/minimo.desktop ${D}/${datadir}/applications/minimo.desktop
mkdir -p ${D}/${datadir}/pixmaps