|
1 | 1 | class Tofrodos < Formula |
2 | 2 | desc "Converts DOS <-> UNIX text files, alias tofromdos" |
3 | | - homepage "https://www.thefreecountry.com/tofrodos/" |
4 | | - url "https://www.thefreecountry.com/tofrodos/tofrodos-1.8.4.zip" |
5 | | - sha256 "fd7b5b5b368a38104dd3c8845c1f24198d973d8b96d4765e24643266a0fa2034" |
| 3 | + homepage "https://github.com/ChristopherHeng/tofrodos" |
| 4 | + url "https://github.com/ChristopherHeng/tofrodos/archive/refs/tags/1.9.0.tar.gz" |
| 5 | + sha256 "f4e16646a1eca631cb0ba62440b47cb8651ce1e6bd2982e8426d3a98ad8083ec" |
6 | 6 | license "GPL-2.0-only" |
7 | 7 |
|
8 | | - livecheck do |
9 | | - url :homepage |
10 | | - regex(/href=.*?tofrodos[._-]v?(\d+(?:\.\d+)+)\.(?:t|zip)/i) |
11 | | - end |
12 | | - |
13 | 8 | bottle do |
14 | | - sha256 cellar: :any_skip_relocation, arm64_tahoe: "a9b776268d2a16c1b90af8e737892c3d7d5cf7992e16d4c10f2577b6cd3ab2db" |
15 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "8f3e81b2b9f9416c6dacd3ac6726ab17a4a03e0f63e736297a5f62e4428ac2b5" |
16 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "d9e3f6b98f27b4dadc65ad1e6a1f35af9f9ce2d004119a1f7a49f43ae5cd5456" |
17 | | - sha256 cellar: :any_skip_relocation, sonoma: "39d54b14e9575c2e21770604bf6a361d6fbb1943a0ac5e953164c84869f7c144" |
18 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "061d7400737cb1ea86aff7de4596a7d69631ceb533e163d40cfc6cb8e3a44b3a" |
19 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "3c0ba730bd91559c765b22ddbfae28ea95c00ed5d4f9e354dce511f149251323" |
| 9 | + sha256 cellar: :any_skip_relocation, arm64_tahoe: "07b62a45db3e96d8c124a399d4423631d0eb8161a1c60e90720049bc7b432b7c" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "cf5149e273342d3b3bf5fe9c23e13232c44242720373c1149329c89f8eb2e18c" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "fd90aabaafa310b004b5b21bb0cb0f4b25b2d276aad5a3495661112a6765c258" |
| 12 | + sha256 cellar: :any_skip_relocation, sonoma: "41949c0a585cd9cc996d4397f9373f616e36a60d1f17f4b5605482b2aa02788a" |
| 13 | + sha256 cellar: :any_skip_relocation, arm64_linux: "e00859f93c7110703d8bb47a72f3a833ee22a85d1440d89230396caeef0faa6e" |
| 14 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "b7fcfcc80b11daa6dbe5d4658ffd01534fc61c8705bd78411c9405c945954626" |
20 | 15 | end |
21 | 16 |
|
22 | 17 | def install |
23 | 18 | mkdir_p [bin, man1] |
24 | 19 |
|
25 | | - system "make", "-C", "src", "all" |
26 | | - system "make", "-C", "src", "BINDIR=#{bin}", "MANDIR=#{man1}", "install" |
| 20 | + system "make", "-f", "makefile.gcc", "all" |
| 21 | + system "make", "-f", "makefile.gcc", "BINDIR=#{bin}", "MANDIR=#{man1}", "install" |
27 | 22 | end |
28 | 23 |
|
29 | 24 | test do |
|
0 commit comments