Makefile 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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_DEPENDS+= libxdamage libxfixes
  13. PKG_BUILDDEP+= alsa-lib dbus-glib glib gtk+ libnotify libIDL libX11 libXt
  14. PKG_BUILDDEP+= nspr nss jpeg
  15. PKG_URL:= http://www.mozilla.org/
  16. PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.3/source/
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.source.tar.bz2
  18. WRKDIST= ${WRKDIR}/mozilla-1.9.2
  19. PKG_TARGET_DEPENDS:= alix1c x86_qemu x86_64_qemu shuttle ibmx40
  20. include $(TOPDIR)/mk/package.mk
  21. $(eval $(call PKG_template,FIREFOX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. CONFIGURE_ENV+= CROSS_COMPILE=1 HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" \
  23. HOST_CXX="${HOSTCXX}" HOST_CXXFLAGS="${HOSTCXXFLAGS}" \
  24. HOST_LIBIDL_CONFIG="/usr/bin/libIDL-config-2"
  25. CONFIGURE_ARGS+= --enable-application=browser \
  26. --with-system-zlib \
  27. --with-system-jpeg \
  28. --with-system-nss \
  29. --with-system-nspr \
  30. --disable-tests \
  31. --disable-static \
  32. --enable-libxul \
  33. --disable-gnomeui \
  34. --disable-gnomevfs \
  35. --disable-optimize \
  36. --disable-necko-wifi \
  37. --disable-crashreporter
  38. post-install:
  39. $(INSTALL_DIR) $(IDIR_FIREFOX)/usr/bin
  40. $(INSTALL_DIR) $(IDIR_FIREFOX)/usr/lib
  41. $(CP) $(WRKINST)/usr/lib/firefox-3.6.3 \
  42. $(IDIR_FIREFOX)/usr/lib/
  43. $(CP) $(WRKINST)/usr/bin/firefox \
  44. $(IDIR_FIREFOX)/usr/bin
  45. include ${TOPDIR}/mk/pkg-bottom.mk