aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/libnfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/libnfs/Makefile')
-rw-r--r--tools/depends/target/libnfs/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libnfs/Makefile b/tools/depends/target/libnfs/Makefile
index a66461e157..9bc0d1b063 100644
--- a/tools/depends/target/libnfs/Makefile
+++ b/tools/depends/target/libnfs/Makefile
@@ -1,5 +1,5 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile
+DEPS = ../../Makefile.include Makefile ../../download-files.include
# lib name, version
LIBNAME=libnfs
@@ -7,6 +7,8 @@ VERSION=17f882fbdbe7f739d1285f173781c1525a29a7fa
# Github commit date of version hash
COMMITDATE=2020-06-09
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
+SHA512=0a367863ed47cc041007480473da4e936ef81978689d35cd048f5f72cbbf300b6e6982559303c67c2b6efd6c3b90ceea57930440f849f3921a8b2c40395e03f1
+include ../../download-files.include
# configuration settings
CONFIGURE=./configure --prefix=$(PREFIX) --disable-shared --disable-utils --disable-examples --disable-werror
@@ -15,10 +17,8 @@ LIBDYLIB=$(PLATFORM)/lib/.libs/$(LIBNAME).a
all: .installed-$(PLATFORM)
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
+$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
-rm -rf $(PLATFORM); mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(PLATFORM); ./bootstrap