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-03-06 22:31:12 +00:00
|
|
|
url 'http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.0.src.tar.gz'
|
|
|
|
sha1 '7f4348418dc3efefd357b32a2b5c8010211ab284'
|
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
|