class Doxymacs < Formula desc "Elisp package for using doxygen under Emacs" homepage "http://doxymacs.sourceforge.net/" url "https://downloads.sourceforge.net/project/doxymacs/doxymacs/1.8.0/doxymacs-1.8.0.tar.gz" sha256 "a23fd833bc3c21ee5387c62597610941e987f9d4372916f996bf6249cc495afa" head do url "git://git.code.sf.net/p/doxymacs/code" depends_on "autoconf" => :build depends_on "automake" => :build end def install # https://sourceforge.net/tracker/?func=detail&aid=3577208&group_id=23584&atid=378985 ENV.append "CFLAGS", "-std=gnu89" system "./bootstrap" if build.head? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install" end end