Skip to content
Snippets Groups Projects
Commit 0d1ccd6d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

contribs: Add 7z support

parent 122e54be
No related branches found
No related tags found
No related merge requests found
......@@ -338,7 +338,9 @@ UNPACK = $(RM) -R $@ \
$(foreach f,$(filter %.tar.gz %.tgz,$^), && tar xvzf $(f)) \
$(foreach f,$(filter %.tar.bz2,$^), && tar xvjf $(f)) \
$(foreach f,$(filter %.tar.xz,$^), && tar xvJf $(f)) \
$(foreach f,$(filter %.zip,$^), && unzip $(f))
$(foreach f,$(filter %.zip,$^), && unzip $(f)) \
$(foreach f,$(filter %.7z,$^), && 7z x $(f))
UNPACK_DIR = $(patsubst %.tar,%,$(basename $(notdir $<)))
APPLY = (cd $(UNPACK_DIR) && patch -fp1) <
pkg_static = (cd $(UNPACK_DIR) && ../../../contribs/src/pkg-static.sh $(1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment