From a69ba6d4dd6d0682399f2e49e300f8cf3a56c705 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Mon, 22 Feb 2010 17:55:22 +0100 Subject: [PATCH] contribs: slimmed the OS X package The included share folder was cut down to aclocal, autoconf, automake, gettext and libtool. Additionally, the gecko-sdk is downloaded and installed separately now. This vastly speeds up the installation process. --- extras/contrib/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extras/contrib/Makefile b/extras/contrib/Makefile index b389427c8e..ccb52da375 100644 --- a/extras/contrib/Makefile +++ b/extras/contrib/Makefile @@ -64,6 +64,8 @@ hosts/$(HOST)/.$(CONTRIBREV): contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2 (cd tmp && find . -type d) | while read dir; do mkdir -p -- "$(PREFIX)/$$dir"; done (cd tmp && find . -not -type d) | while read i; do mv -f -- tmp/"$$i" "$(PREFIX)/$$i"; done rm -rf tmp + # install the gecko-sdk, which isn't part of the package for size and speed reasons + (cd src && rm -rf *gecko* && $(MAKE) .gecko) # libiconv.la is no longer present on Snow Leopard, so fix possible references to it, which would # result in linking issues ifdef HAVE_DARWIN_10 @@ -97,7 +99,9 @@ package-macosx: exit 1 ; \ fi mkdir tmp - (cd $(PREFIX); tar cf - *) | (cd tmp; tar xf -) + rm -rf $(PREFIX)/share/locale $(PREFIX)/share/doc $(PREFIX)/share/man + (cd $(PREFIX); tar cf - Sparkle bin sbin include lib share/aclocal* share/autoconf* \ + share/automake* share/gettext* share/libtool*) | (cd tmp; tar xf -) ./change_prefix.sh tmp $(PREFIX) @@CONTRIB_PREFIX@@ (cd tmp; tar cf - .) | bzip2 -c > contrib-macosx.tar.bz2 rm -rf tmp -- 2.39.2