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' def install # https://sourceforge.net/tracker/?func=detail&aid=3577208&group_id=23584&atid=378985 ENV.append 'CFLAGS', '-std=gnu89' system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end