blob: 3cc2cabfaf6246f44a448c2444092af7db55b9ec (
plain)
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
|
require 'formula'
class Smartsim < Formula
homepage 'http://smartsim.org.uk'
url 'https://github.com/ashleynewson/SmartSim/archive/v1.4.tar.gz'
sha1 '0bafb811df83366a0b0bf137ce3f76ed9f94e506'
head 'https://github.com/ashleynewson/smartsim'
depends_on :x11
depends_on 'gtk+3'
depends_on 'librsvg'
depends_on 'libxml2'
depends_on 'glib'
depends_on 'pkg-config' => :build
depends_on 'gettext'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/smartsim", '--version'
end
end
|