forked from sjackman/linuxbrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alpine.rb
34 lines (28 loc) · 978 Bytes
/
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
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.22.tar.xz"
sha256 "849567c1b6f71fde3aaa1c97cf0577b12a525d9e22c0ea47797c4bf1cd2bbfdb"
head "https://repo.or.cz/alpine.git"
bottle do
sha256 "d9f2c103746223a50f9bd17cc113e33b058a801a9c69f0cde9613f0120b6dc68" => :catalina
sha256 "3061917e8f114d875869a3beb88da6c091a774dd657841052b97d054f10298f9" => :mojave
sha256 "8d4a1d7a99103583a2b8e01639e2204b2d6c1c7e028c8d78ce39f82465ab3799" => :high_sierra
end
depends_on "[email protected]"
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