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