diff options
Diffstat (limited to 'packages/mozilla/firefox_1.0.bb')
-rw-r--r-- | packages/mozilla/firefox_1.0.bb | 48 |
1 files changed, 3 insertions, 45 deletions
diff --git a/packages/mozilla/firefox_1.0.bb b/packages/mozilla/firefox_1.0.bb index e56631909a..f893d9756f 100644 --- a/packages/mozilla/firefox_1.0.bb +++ b/packages/mozilla/firefox_1.0.bb @@ -1,52 +1,10 @@ -SECTION = "x11/utils" -DEPENDS = "xt libxi zip-native gtk+ orbit2" PR = "r0" -LICENSE ="MPL NPL" SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}-source.tar.bz2 \ - file://mozconfig \ file://xptcstubs.patch;patch=1 \ file://no-xmb.patch;patch=1 \ - file://extensions-hack.patch;patch=1 \ - file://mozilla-firefox.png file://mozilla-firefox.desktop" - + file://extensions-hack.patch;patch=1" S = "${WORKDIR}/mozilla" -PACKAGES =+ "firefox-inspector" - -FILES_firefox-inspector = "${libdir}/firefox-${PV}/chrome/inspector" -FILES_${PN} = "${bindir}/firefox ${datadir}/applications ${datadir}/pixmaps ${libdir}/firefox-${PV} ${bindir}/defaults" -FILES_${PN}-dev += "${datadir}/idl ${bindir}/firefox-config" - -SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing" - -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 -} - -do_install() { - make DESTDIR="${D}" destdir="${D}" install - install -d ${D}${datadir}/applications - install -d ${D}${datadir}/pixmaps - install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/ - install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/ - rm -f ${D}${libdir}/firefox-${PV}/TestGtkEmbed -} +inherit mozilla -pkg_postinst_firefox() { - # work around requirement for root access on first startup - chmod -R a+w ${libdir}/firefox* -} +include firefox.inc |