11class Lziprecover < Formula
22 desc "Data recovery tool and decompressor for files in the lzip compressed data format"
33 homepage "https://www.nongnu.org/lzip/lziprecover.html"
4- url "https://download-mirror.savannah.gnu.org/releases/lzip/lziprecover/lziprecover-1.24 .tar.gz"
5- sha256 "1d699cfaefe92eb2624a3652580bcafe0bbb98fe7818c25e6de823bcdd0d458f "
4+ url "https://download-mirror.savannah.gnu.org/releases/lzip/lziprecover/lziprecover-1.25 .tar.gz"
5+ sha256 "4f392f9c780ae266ee3d0db166b0f1b4d3ae07076e401dc2b199dc3a0fff8b45 "
66 license "GPL-2.0-or-later"
77
88 livecheck do
@@ -24,7 +24,7 @@ class Lziprecover < Formula
2424 depends_on "lzip" => :test
2525
2626 def install
27- system "./configure" , "--prefix= #{ prefix } "
27+ system "./configure" , * std_configure_args
2828 system "make" , "install"
2929 end
3030
@@ -53,7 +53,7 @@ def install
5353 assert_match "Decoder error" , shell_output ( "#{ bin } /lziprecover -t #{ path } .lz 2>&1" , 2 )
5454
5555 # Attempt to recover the corrupted archive
56- system bin /"lziprecover" , "-R " , "#{ path } .lz"
56+ system bin /"lziprecover" , "-B " , "#{ path } .lz"
5757
5858 # Verify that recovered data is unchanged
5959 system bin /"lziprecover" , "-d" , "#{ fixed_path } .lz"
0 commit comments