doxymacs: add HEAD

Closes Homebrew/homebrew#28437.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Ivan Andrus 2014-03-05 13:11:17 -07:00 committed by Jack Nagel
parent 541ed3a640
commit 0195095275

View file

@ -5,10 +5,20 @@ class Doxymacs < Formula
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'
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'
if build.head?
system "./bootstrap"
end
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"