$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 51554c538b5a57b61123326e14ea28a1
+$(DL_FILE)_BLAKE2 = fca6720cff73ec20559c666c76fdcd3b59cdf0e33e2c3894a82590d77c5d51cf22e667fe65d9f66a248a624c2b9c868f6e9b69f45f4b6d704b637afe55041e6a
install : $(TARGET)
download :$(patsubst %,$(DIR_DL)/%,$(objects))
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+ @$(B2SUM)
###############################################################################
# Installation Details
# Install headers.
mkdir -pv /usr/include/pci
- cd $(DIR_APP) && install -p lib/pci.h /usr/include/pci
- cd $(DIR_APP) && install -p lib/header.h /usr/include/pci
- cd $(DIR_APP) && install -p lib/config.h /usr/include/pci
- cd $(DIR_APP) && install -p lib/types.h /usr/include/pci
- cd $(DIR_APP) && install -p lib/libpci.pc /usr/lib/pkgconfig
+ cd $(DIR_APP) && install -m 644 lib/pci.h /usr/include/pci
+ cd $(DIR_APP) && install -m 644 lib/header.h /usr/include/pci
+ cd $(DIR_APP) && install -m 644 lib/config.h /usr/include/pci
+ cd $(DIR_APP) && install -m 644 lib/types.h /usr/include/pci
+ cd $(DIR_APP) && install -m 644 lib/libpci.pc /usr/lib/pkgconfig
chmod -v 755 /usr/lib/libpci.so
@rm -rf $(DIR_APP)
@$(POSTBUILD)