homebrew-core/Formula/doxymacs.rb

24 lines
718 B
Ruby
Raw Normal View History

require 'formula'
class Doxymacs < Formula
homepage 'http://doxymacs.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/doxymacs/doxymacs/1.8.0/doxymacs-1.8.0.tar.gz'
sha1 'b2aafb4f2d20ceb63614c2b9f06d79dd484d8e2e'
head do
url 'git://git.code.sf.net/p/doxymacs/code'
2014-05-23 21:17:35 +00:00
depends_on "autoconf" => :build
depends_on "automake" => :build
end
def install
2013-11-18 16:59:10 +00:00
# https://sourceforge.net/tracker/?func=detail&aid=3577208&group_id=23584&atid=378985
ENV.append 'CFLAGS', '-std=gnu89'
2014-04-16 18:22:02 +00:00
system "./bootstrap" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end