summaryrefslogtreecommitdiff
path: root/packages/mozilla/minimo_cvs.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mozilla/minimo_cvs.bb')
-rw-r--r--packages/mozilla/minimo_cvs.bb29
1 files changed, 8 insertions, 21 deletions
diff --git a/packages/mozilla/minimo_cvs.bb b/packages/mozilla/minimo_cvs.bb
index 6f7f8ae637..baf1fa56bd 100644
--- a/packages/mozilla/minimo_cvs.bb
+++ b/packages/mozilla/minimo_cvs.bb
@@ -1,11 +1,9 @@
DESCRIPTION = "A minimal version of the Mozilla web browser"
-DEPENDS = "xt gtk+ libidl zip-native unzip-native"
SRC_URI = "cvs://anonymous@cvs-mirror.mozilla.org/cvsroot;module=mozilla \
file://xptcstubs.patch;patch=1 \
file://no-xmb.patch;patch=1 \
file://host_ldflags_fix.patch;patch=1 \
- file://minimo.png file://minimo.desktop \
- file://mozconfig"
+ file://minimo.png file://minimo.desktop"
S = "${WORKDIR}/mozilla"
MAINTAINER = "Phil Blundell <pb@handhelds.org>"
SECTION = "x11"
@@ -15,24 +13,13 @@ FILES_${PN} += "${libdir}/mozilla-minimo"
PR = "r7"
LICENSE = "MPL/LGPL/GPL"
+inherit mozilla
+
+EXTRA_OECONF += "--enable-application=suite"
+
export MINIMO=1
-export CROSS_COMPILE=1
-export CONFIGURE_ARGS="--target=${TARGET_SYS} --host=${BUILD_SYS} --build=${BUILD_SYS} --enable-application=suite"
-export CXX=${CC}
-export HOST_LIBIDL_CONFIG="${STAGING_BINDIR}/libIDL-config-2"
-export HOST_PKG_CONFIG_PATH="${STAGING_DIR}/${BUILD_SYS}/share/pkgconfig"
export MOZ_OBJDIR="${WORKDIR}/build-${TARGET_SYS}"
-export MOZCONFIG="${WORKDIR}/mozconfig"
export MOZ_CO_PROJECT="suite"
-export HOST_CC=${BUILD_CC}
-export HOST_CXX=${BUILD_CXX}
-export HOST_CFLAGS=${BUILD_CFLAGS}
-export HOST_CXXFLAGS=${BUILD_CXXFLAGS}
-export HOST_LDFLAGS=${BUILD_LDFLAGS}
-export HOST_RANLIB=${BUILD_RANLIB}
-export HOST_AR=${BUILD_AR}
-
-SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
do_fetch () {
mkdir -p ${WORKDIR}
@@ -40,16 +27,16 @@ do_fetch () {
if [ ! -f ${DL_DIR}/mozilla_cvs-mirror.mozilla.org__${CVSDATE}.tar.gz ]; then
cvs $CVSCOOPTS -d :pserver:anonymous@cvs-mirror.mozilla.org/cvsroot co mozilla/client.mk
cd mozilla
- make -f client.mk checkout
+ oe_runmake -f client.mk checkout
cd ..
tar czf ${DL_DIR}/mozilla_cvs-mirror.mozilla.org__${CVSDATE}.tar.gz mozilla
fi
}
do_compile () {
- make -f client.mk build_all
+ mozilla_do_compile
cd $MOZ_OBJDIR/embedding/minimo
- make
+ oe_runmake
}
mozdir="${D}${libdir}/mozilla-minimo"