]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/gmp
Diverse Fixes.
[people/pmueller/ipfire-2.x.git] / lfs / gmp
diff --git a/lfs/gmp b/lfs/gmp
index c27f00a5808fdd47605a6a434556c2a429914663..5d6c2e4e0c172f8e7ecfd3e2135573ba0f5f1bdd 100644 (file)
--- a/lfs/gmp
+++ b/lfs/gmp
 # Makefiles are based on LFSMake, which is                                    #
 # Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
 #                                                                             #
-# Modifications by:                                                           #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
-#          - Modified Makefile for IPCop build                                #
-#                                                                             #
-# $Id: gmp,v 1.5.2.3 2005/02/05 15:38:15 gespinasse Exp $
-#                                                                             #
 ###############################################################################
 
 ###############################################################################
 
 include Config
 
-VER        = 4.1.2
+VER        = 4.2
 
 THISAPP    = gmp-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = $(URL_GNU)/gmp
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
@@ -48,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 01c7fbd6abbb8824a22161f6c6bbdaf0
+$(DL_FILE)_MD5 = aa4a4534e8870ab8ba3c093239057cca
 
 install : $(TARGET)
 
@@ -77,9 +71,9 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --prefix=/usr --build=$(BUILDTARGET) --disable-nls
-       cd $(DIR_APP) && make -j 3
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr --enable-cxx --enable-mpbsd --build=$(BUILDTARGET) --disable-nls
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)