-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgiza-x11.rb
29 lines (26 loc) · 858 Bytes
/
giza-x11.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
# Homebrew install script for giza
class GizaX11 < Formula
desc "Scientific plotting library for C/Fortran"
homepage "https://danieljprice.github.io/giza/"
url "https://github.com/danieljprice/giza/releases/download/v1.4.4/giza-v1.4.4.tar.gz"
version "1.4.4"
sha256 "0dc9ba9038104efddbd3171264f984727254aebbcdd0438133a07cc7e0355a08"
depends_on "pkg-config" => :build
depends_on "gcc" => :build
depends_on "cairo" => :build
depends_on "libx11"
depends_on "freetype"
head do
url "https://github.com/danieljprice/giza", :using => :git
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "false"
end
end