new makefile for firefox
- From: "Joseph E. Sacco, PhD" <joseph_sacco comcast net>
- To: garnome-list <garnome-list gnome org>
- Cc: Paul Drain <pd cipherfunk org>
- Subject: new makefile for firefox
- Date: Sat, 01 Oct 2005 14:14:06 -0400
Attached is a new Makefile for firefox that includes a post-install
target that will link the nss/nspr libs to $(libdir).
evolution-webcal can now be built using the old Makefile.
-Joseph
--
joseph_sacco [at] comcast [dot] net
GARNAME = firefox
GARVERSION = 1.0.7
CATEGORIES = bootstrap
DISTFILES = $(GARNAME)-$(GARVERSION)-source.tar.bz2 mozconfig-firefox
PATCHFILES = firefox-1.0-freetype-fixes.patch firefox-1.0-pango-renderer.patch firefox-1.0.4-epiphany-integration.patch firefox-1.0.4-gcc4x-fixes.patch garnome-fixes.diff
MASTER_SITES = http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$(GARVERSION)/source/
LIBDEPS = platform/gtk+ platform/pango platform/ORBit2
DESCRIPTION = firefox
define BLURB
Cross Platform, enhanced browser based on the Mozilla (Gecko) Rendering Engine
endef
WORKSRC = $(WORKDIR)/mozilla
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile
CONFIGURE_ARGS = $(DIRPATHS)
include ../category.mk
CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed 's,--enable-debug,--disable-debug,')
CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed 's,--enable-tests,--disable-tests,')
CFLAGS := $(shell echo $(CFLAGS) | sed 's,-g ,,')
CXXFLAGS := $(shell echo $(CXXFLAGS) | sed 's,-g ,,')
pre-configure:
@echo "Exporting required Firefoxisms..."
@cp $(FILEDIR)/mozconfig-firefox $(WORKSRC)/.mozconfig
pre-install:
@echo "Fixing broken NSS header installation..."
@mkdir -p $(includedir)/$(GARNAME)-$(GARVERSION)/nss/
@cp -f $(WORKSRC)/dist/public/nss/*.h $(includedir)/$(GARNAME)-$(GARVERSION)/nss/
@mkdir -p $(includedir)/$(GARNAME)-$(GARVERSION)/seccmd/
@cp -f $(WORKSRC)/dist/public/seccmd/*.h $(includedir)/$(GARNAME)-$(GARVERSION)/seccmd/
post-install:
@echo "Set up links for FF libs..."
@LIB_LIST="libnspr4.so libnss3.so libnsskbi.so libplc4.so libplds4.so libsmime3.so \
libsoftokn3.so libssl3"; \
for file in $$LIB_LIST; do \
ln -sf $(libdir)/$(GARNAME)-$(GARVERSION)/$$file $(libdir); \
done
@$(MAKECOOKIE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]