Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= firefox
  5. PKG_VERSION:= 3.6.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 5e4541ab23084b7b14ba228291ce2688
  8. PKG_DESCR:= graphical webbrowser
  9. PKG_SECTION:= x11
  10. PKG_DEPENDS:= libpthread alsa-lib dbus-glib glib gtk+ libnotify libidl
  11. PKG_DEPENDS+= nspr nss libjpeg atk pango cairo libxt libx11 libstdcxx
  12. PKG_BUILDDEP+= alsa-lib dbus-glib glib gtk+ libnotify libIDL libX11 libXt
  13. PKG_BUILDDEP+= nspr nss jpeg
  14. PKG_URL:= http://www.mozilla.org/
  15. PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.3/source/
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.source.tar.bz2
  17. WRKDIST= ${WRKDIR}/mozilla-1.9.2
  18. PKG_TARGET_DEPENDS:= alix1c x86_qemu x86_64_qemu shuttle
  19. include $(TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,FIREFOX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. CONFIGURE_ENV+= CROSS_COMPILE=1 HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" \
  22. HOST_CXX="${HOSTCXX}" HOST_CXXFLAGS="${HOSTCXXFLAGS}" \
  23. HOST_LIBIDL_CONFIG="/usr/bin/libIDL-config-2"
  24. CONFIGURE_ARGS+= --enable-application=browser \
  25. --with-system-zlib \
  26. --with-system-jpeg \
  27. --with-system-nss \
  28. --with-system-nspr \
  29. --disable-tests \
  30. --disable-static \
  31. --enable-libxul \
  32. --disable-gnomeui \
  33. --disable-gnomevfs \
  34. --disable-optimize \
  35. --disable-necko-wifi \
  36. --disable-crashreporter
  37. post-install:
  38. $(INSTALL_DIR) $(IDIR_FIREFOX)/usr/bin
  39. $(INSTALL_DIR) $(IDIR_FIREFOX)/usr/lib
  40. $(CP) $(WRKINST)/usr/lib/firefox-3.6.3 \
  41. $(IDIR_FIREFOX)/usr/lib/
  42. $(CP) $(WRKINST)/usr/bin/firefox \
  43. $(IDIR_FIREFOX)/usr/bin
  44. include ${TOPDIR}/mk/pkg-bottom.mk