2011-04-05 15:41:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Doxymacs < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Elisp package for using doxygen under Emacs"
|
2011-04-05 15:41:41 +00:00
|
|
|
homepage 'http://doxymacs.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/doxymacs/doxymacs/1.8.0/doxymacs-1.8.0.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'b2aafb4f2d20ceb63614c2b9f06d79dd484d8e2e'
|
2011-04-05 15:41:41 +00:00
|
|
|
|
2014-03-05 20:11:17 +00:00
|
|
|
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
|
2014-03-05 20:11:17 +00:00
|
|
|
end
|
|
|
|
|
2011-04-05 15:41:41 +00:00
|
|
|
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?
|
2011-04-05 15:41:41 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|