2013-01-25 11:30:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Openslide < Formula
|
|
|
|
homepage 'http://openslide.org/'
|
2013-12-02 06:17:50 +00:00
|
|
|
url 'http://download.openslide.org/releases/openslide/openslide-3.3.3.tar.gz'
|
|
|
|
sha1 '2315f0daa5d963e6ba9f1e67517cee44f9deabe5'
|
2013-01-25 11:30:28 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on :libpng
|
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'libxml2'
|
|
|
|
depends_on 'libtiff'
|
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'openjpeg'
|
|
|
|
depends_on 'cairo'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|