summaryrefslogtreecommitdiff
path: root/packages/mozilla/firefox_0.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mozilla/firefox_0.9.bb')
-rw-r--r--packages/mozilla/firefox_0.9.bb40
1 files changed, 5 insertions, 35 deletions
diff --git a/packages/mozilla/firefox_0.9.bb b/packages/mozilla/firefox_0.9.bb
index 102d35e908..ec0d84a57a 100644
--- a/packages/mozilla/firefox_0.9.bb
+++ b/packages/mozilla/firefox_0.9.bb
@@ -1,40 +1,10 @@
-SECTION = "x11/utils"
-DEPENDS = "xt libxi zip-native gtk+ orbit2"
PR = "r3"
-LICENSE = "MPL NPL"
-SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/firefox-${PV}-source.tar.bz2 \
- file://mozconfig \
+SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \
file://xptcstubs.patch;patch=1 \
- file://no-xmb.patch;patch=1"
-
+ file://no-xmb.patch;patch=1 \
+ file://mozilla-firefox.png file://mozilla-firefox.desktop"
S = "${WORKDIR}/mozilla"
-FILES_${PN} += "${libdir}/firefox-${PV} ${datadir}/idl"
-
-# gcc-3.4 blows up in gtktext with -frename-registers on arm-linux
-CFLAGS := "${@'${CFLAGS}'.replace('-frename-registers', '')} -fsigned-char -fno-strict-aliasing"
-CXXFLAGS := "${@'${CXXFLAGS}'.replace('-frename-registers', '')} -fsigned-char -fno-strict-aliasing"
-
-SELECTED_OPTIMIZATION = "-Os"
-
-export CROSS_COMPILE=1
-export HOST_LIBIDL_CONFIG="libIDL-config-2"
-export CONFIGURE_ARGS="--target=${TARGET_SYS} --host=${BUILD_SYS} --build=${BUILD_SYS} --prefix=${prefix}"
-
-export HOST_CFLAGS="${BUILD_CFLAGS}"
-export HOST_CXXFLAGS="${BULID_CXXFLAGS}"
-export HOST_LDFLAGS="${BUILD_LDFLAGS}"
-export HOST_RANLIB="${BUILD_RANLIB}"
-export HOST_AR="${BUILD_AR}"
-
-do_configure() {
- cp ${WORKDIR}/mozconfig .mozconfig
-}
-
-do_compile() {
- make -f client.mk build_all
-}
+inherit mozilla
-do_install() {
- make DESTDIR="${D}" install
-}
+include firefox.inc