3e3e9b8488
Upgrade gwyddion to version 2.28. Remove the unrecognized `--disable-debug`. Add `--with-html-dir=#{doc}` to get the docs in the right place. Add the xz build time dep to handle the tarball. Tested on Lion with clang and llvm from XCode-4.3.2. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
21 lines
605 B
Ruby
21 lines
605 B
Ruby
require 'formula'
|
|
|
|
class Gwyddion < Formula
|
|
homepage 'http://gwyddion.net/'
|
|
url 'http://downloads.sourceforge.net/project/gwyddion/gwyddion/2.28/gwyddion-2.28.tar.xz'
|
|
sha1 '9f93b236f39694a9d0c4e162a20ace963783ccea'
|
|
|
|
depends_on 'xz' => :build
|
|
depends_on 'gtk+'
|
|
depends_on 'libxml2'
|
|
depends_on 'fftw'
|
|
depends_on 'gtkglext'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--disable-desktop-file-update",
|
|
"--prefix=#{prefix}",
|
|
"--with-html-dir=#{doc}"
|
|
system "make install"
|
|
end
|
|
end
|