2013-11-12 11:02:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Smartsim < Formula
|
|
|
|
homepage 'http://smartsim.org.uk'
|
2013-11-23 00:59:56 +00:00
|
|
|
url 'https://github.com/ashleynewson/SmartSim/archive/v1.4.tar.gz'
|
|
|
|
sha1 '0bafb811df83366a0b0bf137ce3f76ed9f94e506'
|
2013-11-12 11:02:57 +00:00
|
|
|
head 'https://github.com/ashleynewson/smartsim'
|
|
|
|
|
|
|
|
depends_on :x11
|
2013-11-23 00:59:56 +00:00
|
|
|
depends_on 'gtk+3'
|
2013-11-12 11:02:57 +00:00
|
|
|
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
|
2013-11-23 00:59:56 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/smartsim", '--version'
|
|
|
|
end
|
2013-11-12 11:02:57 +00:00
|
|
|
end
|