# HG changeset patch # User Martin Gerhardy # Date 1285512702 -7200 # Node ID 762fcdbfa1c674749ab0b39c58dbc61551fa22cb # Parent 26fc031aab3e725a5240f72ca8fe96b87d88a2d6 handle *.bz2 files as *.tar.bz2 This is needed for package openal. diff -r 26fc031aab3e -r 762fcdbfa1c6 Makefile --- a/Makefile Sun Sep 26 16:38:48 2010 +0200 +++ b/Makefile Sun Sep 26 16:51:42 2010 +0200 @@ -36,9 +36,10 @@ $(if $(filter %.tgz, $(1)),tar xzf '$(1)', \ $(if $(filter %.tar.gz, $(1)),tar xzf '$(1)', \ $(if $(filter %.tar.bz2, $(1)),tar xjf '$(1)', \ + $(if $(filter %.bz2, $(1)),tar xjf '$(1)', \ $(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \ $(if $(filter %.zip, $(1)),unzip -q '$(1)', \ - $(error Unknown archive format: $(1))))))) + $(error Unknown archive format: $(1)))))))) UNPACK_PKG_ARCHIVE = \ $(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))