X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fgmp;h=d091009813ab594b9443c3cd1abd88d1b1d83e42;hb=HEAD;hp=55603a5e3ff6e3b40545b66475756c7c2c1ba731;hpb=94abd48b1c666f7ec1009515ffb651f522f9f89b;p=ipfire-2.x.git diff --git a/lfs/gmp b/lfs/gmp index 55603a5e3f..555e9eeb52 100644 --- a/lfs/gmp +++ b/lfs/gmp @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2014 IPFire Team # +# Copyright (C) 2007-2023 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,18 +24,14 @@ include Config -VER = 5.0.5 +VER = 6.3.0 THISAPP = gmp-$(VER) -DL_FILE = $(THISAPP).tar.bz2 +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) -ifeq "$(MACHINE)" "i586" - CONFIGURE_ARGS = ABI=32 -endif - ############################################################################### # Top-level Rules ############################################################################### @@ -44,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 041487d25e9c230b0c42b106361055fe +$(DL_FILE)_BLAKE2 = a865129e2b3f634ec5bad7f97ed89532e43f5662ac47a7d8ab7f0df8c9f8d0886bd984651422e2573c2163bca69c0547c248147ec90880accbd53db97dc0ddee install : $(TARGET) @@ -52,10 +48,10 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects)) download :$(patsubst %,$(DIR_DL)/%,$(objects)) -md5 : $(subst %,%_MD5,$(objects)) +b2 : $(subst %,%_BLAKE2,$(objects)) ############################################################################### -# Downloading, checking, md5sum +# Downloading, checking, b2sum ############################################################################### $(patsubst %,$(DIR_CHK)/%,$(objects)) : @@ -64,8 +60,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) : $(patsubst %,$(DIR_DL)/%,$(objects)) : @$(LOAD) -$(subst %,%_MD5,$(objects)) : - @$(MD5) +$(subst %,%_BLAKE2,$(objects)) : + @$(B2SUM) ############################################################################### # Installation Details @@ -73,10 +69,13 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \ - --build=$(BUILDTARGET) \ - --enable-cxx --enable-mpbsd --disable-nls + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && \ + $(CONFIGURE_ARGS) \ + ./configure \ + --build=${BUILDTARGET} \ + --prefix=/usr \ + --enable-cxx cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)