2011-03-04 14:27:30 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Epstool < Formula
|
2011-03-04 14:27:30 +00:00
|
|
|
homepage 'http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm'
|
2012-02-13 06:34:11 +00:00
|
|
|
url 'http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/epstool-3.08.tar.gz'
|
2012-08-15 02:25:17 +00:00
|
|
|
mirror 'http://pkgs.fedoraproject.org/repo/pkgs/epstool/epstool-3.08.tar.gz/465a57a598dbef411f4ecbfbd7d4c8d7/epstool-3.08.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'dc495934f06d3ea8b3209e8b02ea96c66c34f614'
|
2011-03-04 14:27:30 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-13 06:34:11 +00:00
|
|
|
system "make", "install",
|
|
|
|
"EPSTOOL_ROOT=#{prefix}",
|
2012-08-14 22:08:47 +00:00
|
|
|
"EPSTOOL_MANDIR=#{man}",
|
|
|
|
"CC=#{ENV.cc}"
|
2011-03-04 14:27:30 +00:00
|
|
|
end
|
|
|
|
end
|