diff options
author | Phil Blundell <philb@gnu.org> | 2004-07-29 20:35:45 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-07-29 20:35:45 +0000 |
commit | dd06f72bb14b1e0413a0353dea99d81c786ddc82 (patch) | |
tree | 49f8fb0e20f4cbceb8abb228c4912ddb3190419c /mozilla/firefox_0.9.2.oe | |
parent | 6f052e0ec8eceb7ad57736bca700d4bc8c8ea24e (diff) |
add .desktop file and icon for firefox
BKrev: 41095fa1xbr09QDzSmw4PYyhHYHwJQ
Diffstat (limited to 'mozilla/firefox_0.9.2.oe')
-rw-r--r-- | mozilla/firefox_0.9.2.oe | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/mozilla/firefox_0.9.2.oe b/mozilla/firefox_0.9.2.oe index e69de29bb2..831befd574 100644 --- a/mozilla/firefox_0.9.2.oe +++ b/mozilla/firefox_0.9.2.oe @@ -0,0 +1,44 @@ +DEPENDS = "xt xi zip-native gtk+ orbit2" +PR = "r4" + +SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/firefox-${PV}-source.tar.bz2 \ + file://mozconfig \ + file://xptcstubs.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" + +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 +} + +do_install() { + make 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/ +} + |