Skip to content

Commit cada406

Browse files
Update p7zip.mk
1 parent 5c4075f commit cada406

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

deps/p7zip.mk

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
## p7zip ##
2+
include $(SRCDIR)/p7zip.version
23

34
ifneq ($(USE_BINARYBUILDER_P7ZIP),1)
45

56
$(SRCCACHE)/p7zip-$(P7ZIP_VER).tar.gz: | $(SRCCACHE)
6-
$(JLDOWNLOAD) $@ https://github.com/jinfeihan57/p7zip/archive/refs/tags/v$(P7ZIP_VER).tar.gz
7+
$(JLDOWNLOAD) $@ https://github.com/p7zip-project/p7zip/archive/refs/tags/v$(P7ZIP_VER).tar.gz
78

89
$(BUILDDIR)/p7zip-$(P7ZIP_VER)/source-extracted: $(SRCCACHE)/p7zip-$(P7ZIP_VER).tar.gz
910
$(JLCHECKSUM) $<
@@ -28,12 +29,12 @@ $(eval $(call staged-install, \
2829
P7ZIP_INSTALL,,,))
2930

3031
clean-p7zip:
31-
-rm $(BUILDDIR)/p7zip-$(P7ZIP_VER)/build-configured $(BUILDDIR)/p7zip-$(P7ZIP_VER)/build-compiled
32-
-rm $(build_bindir)/7za
32+
-rm -f $(BUILDDIR)/p7zip-$(P7ZIP_VER)/build-configured $(BUILDDIR)/p7zip-$(P7ZIP_VER)/build-compiled
33+
-rm -f $(build_bindir)/7za
3334
-$(MAKE) -C $(BUILDDIR)/p7zip-$(P7ZIP_VER) clean
3435

3536
distclean-p7zip:
36-
-rm -rf $(SRCCACHE)/p7zip-$(P7ZIP_VER).tar.gz $(SRCCACHE)/p7zip-$(P7ZIP_VER) $(BUILDDIR)/p7zip-$(P7ZIP_VER)
37+
rm -rf $(SRCCACHE)/p7zip-$(P7ZIP_VER).tar.gz $(SRCCACHE)/p7zip-$(P7ZIP_VER) $(BUILDDIR)/p7zip-$(P7ZIP_VER)
3738

3839

3940
get-p7zip: $(SRCCACHE)/p7zip-$(P7ZIP_VER).tar.gz

0 commit comments

Comments
 (0)