2010-04-09 22:57:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Svg2png < Formula
|
2010-04-09 22:57:44 +00:00
|
|
|
homepage 'http://cairographics.org/'
|
2013-01-28 03:02:56 +00:00
|
|
|
url 'http://cairographics.org/snapshots/svg2png-0.1.3.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'afd207ef745fe2e20e01585bbc9a576e7cc9caf5'
|
2010-04-09 22:57:44 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-04-09 22:57:44 +00:00
|
|
|
depends_on 'libsvg-cairo'
|
|
|
|
|
|
|
|
def install
|
2011-03-14 21:47:29 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-04-09 22:57:44 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|