forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalpine.rb
44 lines (36 loc) · 1.28 KB
/
alpine.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
class Alpine < Formula
desc "News and email agent"
homepage "http://alpine.x10host.com/alpine/release/"
url "http://alpine.x10host.com/alpine/release/src/alpine-2.24.tar.xz"
sha256 "651a9ffa0a29e2b646a0a6e0d5a2c8c50f27a07a26a61640b7c783d06d0abcef"
license "Apache-2.0"
head "https://repo.or.cz/alpine.git"
livecheck do
url :homepage
regex(/href=.*?alpine[._-]v?(\d+(?:\.\d+)+)\.t/i)
end
bottle do
sha256 arm64_big_sur: "273db81b08b89a37f782da98e32134526682146c05221bfa230bfbf63220f899"
sha256 big_sur: "bc7e92be45c91c784791a4be2cc2569bed0b686d132f4cdfd0d0233be091643d"
sha256 catalina: "8a856082da848d13cc4019f3bed974e896144b0cf192125285e20a7250a72295"
sha256 mojave: "43533b14f530c72a3f89dbaebf2c4efcd66c8c7fc89349e56d714ff15f2af02e"
sha256 high_sierra: "bed10deca1df682e23ffec4b21af9f837db1dbf011879ab0df579efc81116db1"
end
depends_on "[email protected]"
uses_from_macos "ncurses"
def install
ENV.deparallelize
args = %W[
--disable-debug
--with-ssl-dir=#{Formula["[email protected]"].opt_prefix}
--with-ssl-certs-dir=#{etc}/[email protected]
--prefix=#{prefix}
--with-bundled-tools
]
system "./configure", *args
system "make", "install"
end
test do
system "#{bin}/alpine", "-conf"
end
end