summaryrefslogtreecommitdiff
path: root/mozilla/minimo_cvs.oe
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-30 10:54:41 +0000
committerPhil Blundell <philb@gnu.org>2004-08-30 10:54:41 +0000
commit3082c19df98dc72161259cc1d7ee06514663f1e4 (patch)
tree37019ada727cfcbb3ca7219ff935a19ce11ffa76 /mozilla/minimo_cvs.oe
parentbf870eab24e72915a1380473b4d68fa10519a911 (diff)
minimo packaging fixes
BKrev: 41330771E-ir5KcpFNePU_2alpgxkg
Diffstat (limited to 'mozilla/minimo_cvs.oe')
-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