]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blobdiff - lfs/gutenprint
Switch checksums from MD5 to BLAKE2
[people/mfischer/ipfire-2.x.git] / lfs / gutenprint
index 1124a3f69138d8209dcb3c335a2ea06f9aadef48..c66db814a024ebfdfaf4e5a4c4c3716c5916504a 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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,6 +24,8 @@
 
 include Config
 
+SUMMARY    = Printer drivers for CUPS from the Gutenprint project
+
 VER        = 5.2.9
 
 THISAPP    = gutenprint-$(VER)
@@ -34,7 +36,9 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = gutenprint
 PAK_VER    = 3
 
-DEPS       = "cups"
+DEPS       = cups
+
+SERVICES   =
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = aefbec27b96dd404d9ac9811e17d58ce
+$(DL_FILE)_BLAKE2 = 70d8e447e0db9b34d57d65a42c99b1a702be6f51735acf44d833ae9bbd1d28ba119aeb2068811a266dbb1cf30e4c0514d98e84f2d11759a4969bc3ead67f03cb
 
 install : $(TARGET)
 
@@ -52,13 +56,13 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
-dist: 
+dist:
        @$(PAK)
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -67,8 +71,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details
@@ -76,10 +80,10 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP)
-       cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       $(UPDATE_AUTOMAKE)
        cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)