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
@@ -11,20 +11,18 @@ class Lziprecover < Formula
1111 end
1212
1313 bottle do
14- sha256 cellar : :any_skip_relocation , arm64_sequoia : "4a2dd650f45782dcc8de128bd7015097c5dfa9a4e4a2e306ff96cf8c1fef1e2c"
15- sha256 cellar : :any_skip_relocation , arm64_sonoma : "92fb61b39ad982dcefcf73afb6a005208156b9909cdcb7b3e5def6158589336c"
16- sha256 cellar : :any_skip_relocation , arm64_ventura : "25f136fe7fe5b7565373debbae2ea9efc280c140ca82f1f01e64be2bb9cf087b"
17- sha256 cellar : :any_skip_relocation , arm64_monterey : "17f6b6deabe434ae8fd3ee061a07847f0146f38d786fb46b53917b658eab0d5a"
18- sha256 cellar : :any_skip_relocation , sonoma : "11dfdffe42cf0c75cd15acd369336a80569a57e14f83a42c0fd0f31c0707b2f2"
19- sha256 cellar : :any_skip_relocation , ventura : "0324acbac4ee097f0a9ebcf2fefe3b30dbe654b55baa70fe63241dcd89075e89"
20- sha256 cellar : :any_skip_relocation , monterey : "9c9949fa4537af00f21ff19e58616a54565c6f2118a843472aab12af1c2ec9d0"
21- sha256 cellar : :any_skip_relocation , x86_64_linux : "6df153d89b7704c4920d7419815b7804aca753067b1984bc7711c3d748d994d8"
14+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "b9dfd6b15c1d4d1ab02c6aed05ef8ca2b6f21bb9ffd5feed204c06ec606b6770"
15+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "cd20c214e86a0a66aafe279db858e5806a775567490e22a92f68c2048dfe5728"
16+ sha256 cellar : :any_skip_relocation , arm64_ventura : "ddd6ef5287bb52ddc1b4140743e599d6cb821971f3b824e668da2dd9532dfad3"
17+ sha256 cellar : :any_skip_relocation , sonoma : "1965cecf72d16347675ff1f64c278d4fb723e65a505981583d0d5efae7ac0f78"
18+ sha256 cellar : :any_skip_relocation , ventura : "aaba0e8d69a176034618c16c1926e522665fbe7ebfdef634dd22a63302e0c47e"
19+ sha256 cellar : :any_skip_relocation , x86_64_linux : "d3f14cf600fd5f4353371429ab79056f48c7f42c95868bd9332a29059b64fa4d"
2220 end
2321
2422 depends_on "lzip" => :test
2523
2624 def install
27- system "./configure" , "--prefix= #{ prefix } "
25+ system "./configure" , * std_configure_args
2826 system "make" , "install"
2927 end
3028
@@ -53,7 +51,7 @@ def install
5351 assert_match "Decoder error" , shell_output ( "#{ bin } /lziprecover -t #{ path } .lz 2>&1" , 2 )
5452
5553 # Attempt to recover the corrupted archive
56- system bin /"lziprecover" , "-R " , "#{ path } .lz"
54+ system bin /"lziprecover" , "-B " , "#{ path } .lz"
5755
5856 # Verify that recovered data is unchanged
5957 system bin /"lziprecover" , "-d" , "#{ fixed_path } .lz"
0 commit comments