2009-11-11 21:09:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Doxygen < Formula
|
2012-02-10 03:21:22 +00:00
|
|
|
homepage 'http://www.doxygen.org/'
|
2012-09-18 18:19:12 +00:00
|
|
|
url 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.2.src.tar.gz'
|
2012-09-22 18:45:33 +00:00
|
|
|
mirror 'http://downloads.sourceforge.net/project/doxygen/rel-1.8.2/doxygen-1.8.2.src.tar.gz'
|
2012-09-18 18:19:12 +00:00
|
|
|
sha1 '7b88ade3989ce0f43f0fb2b2574436c4f1fa1c5a'
|
2012-02-10 03:21:22 +00:00
|
|
|
|
2010-10-12 14:40:33 +00:00
|
|
|
head 'https://doxygen.svn.sourceforge.net/svnroot/doxygen/trunk'
|
|
|
|
|
2009-11-11 21:09:28 +00:00
|
|
|
def install
|
2010-03-07 06:27:19 +00:00
|
|
|
system "./configure", "--prefix", prefix
|
2012-02-10 03:21:22 +00:00
|
|
|
system "make", "CC=#{ENV.cc}",
|
|
|
|
"CXX=#{ENV.cxx}",
|
|
|
|
"CFLAGS=#{ENV.cflags}",
|
|
|
|
"CXXFLAGS=#{ENV.cflags}"
|
|
|
|
# MAN1DIR, relative to the given prefix
|
|
|
|
system "make", "MAN1DIR=share/man/man1", "install"
|
2009-11-11 21:09:28 +00:00
|
|
|
end
|
|
|
|
end
|