homebrew-core/Formula/dotwrp.rb
Andrew Janke 3ad9a0896f Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes Homebrew/homebrew#18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00

20 lines
550 B
Ruby

require 'formula'
class Dotwrp < Formula
homepage 'https://github.com/tenomoto/dotwrp'
url 'https://github.com/tenomoto/dotwrp/archive/v1.1.tar.gz'
sha1 'd328705ec424898382956bb8a0be16a680372f05'
head 'https://github.com/tenomoto/dotwrp.git'
def install
ENV.fortran
# note: fno-underscoring is vital to override the symbols in Accelerate
system "#{ENV["FC"]} #{ENV["FFLAGS"]} -fno-underscoring -c dotwrp.f90"
system "ar -cru libdotwrp.a dotwrp.o"
system "ranlib libdotwrp.a"
lib.install 'libdotwrp.a'
end
end