2014-05-18 22:56:30 +00:00
|
|
|
require "formula"
|
2013-04-03 14:20:03 +00:00
|
|
|
|
|
|
|
class Abcm2ps < Formula
|
2014-05-18 22:56:30 +00:00
|
|
|
homepage "http://moinejf.free.fr"
|
|
|
|
|
|
|
|
stable do
|
2014-06-29 03:20:17 +00:00
|
|
|
url "http://moinejf.free.fr/abcm2ps-7.8.4.tar.gz"
|
2014-06-29 03:47:43 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "ef6a4248ccf543f3394561d056ef8c7941e1cf59" => :mavericks
|
|
|
|
sha1 "3125f3f4c279ff6233330153a166905c22be78b6" => :mountain_lion
|
|
|
|
sha1 "e87ee5016f2b2773b02664fbee362c3a557966a7" => :lion
|
|
|
|
end
|
|
|
|
|
2014-06-29 03:20:17 +00:00
|
|
|
sha1 "b910a048fe94500d3da52e9fe250d2835dc5343c"
|
2014-05-18 22:56:30 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
devel do
|
2014-06-29 03:20:17 +00:00
|
|
|
url "http://moinejf.free.fr/abcm2ps-8.1.2.tar.gz"
|
|
|
|
sha1 "b60626ef21b269fa18ec3dc8ba11354d798ddded"
|
2014-05-18 22:56:30 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
depends_on "pango" => :optional
|
|
|
|
if build.with? "pango"
|
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
end
|
2013-04-03 14:20:03 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2014-05-18 22:56:30 +00:00
|
|
|
system "make", "install"
|
2013-04-03 14:20:03 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2013-06-02 17:19:55 +00:00
|
|
|
system "#{bin}/abcm2ps"
|
2013-04-03 14:20:03 +00:00
|
|
|
end
|
|
|
|
end
|