Very pedantic audit fixes
This commit is contained in:
parent
bee28257ca
commit
20a4948c83
3 changed files with 15 additions and 13 deletions
|
@ -8,7 +8,7 @@ class Dotwrp < Formula
|
||||||
def install
|
def install
|
||||||
ENV.fortran
|
ENV.fortran
|
||||||
|
|
||||||
# note: fno-underscoring is vital to override the symbols in Accelerate
|
# note: fno-underscoring is vital to override the symbols in Accelerate
|
||||||
system "#{ENV["FC"]} #{ENV["FFLAGS"]} -fno-underscoring -c dotwrp.f90"
|
system "#{ENV["FC"]} #{ENV["FFLAGS"]} -fno-underscoring -c dotwrp.f90"
|
||||||
system "/usr/bin/ar -cru libdotwrp.a dotwrp.o"
|
system "/usr/bin/ar -cru libdotwrp.a dotwrp.o"
|
||||||
system "/usr/bin/ranlib libdotwrp.a"
|
system "/usr/bin/ranlib libdotwrp.a"
|
||||||
|
|
|
@ -7,9 +7,9 @@ class Jslint4java < Formula
|
||||||
version '1.4.6'
|
version '1.4.6'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
prefix.install Dir['*']
|
prefix.install Dir['*']
|
||||||
bin.mkpath
|
bin.mkpath
|
||||||
(bin + 'jslint4java').write <<-EOF.undent
|
(bin + 'jslint4java').write <<-EOF.undent
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
java -jar #{prefix}/jslint4java-1.4.6.jar "$@"
|
java -jar #{prefix}/jslint4java-1.4.6.jar "$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
require 'formula'
|
require 'formula'
|
||||||
|
|
||||||
class Libdvdread < Formula
|
class Libdvdread < Formula
|
||||||
url 'http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.7.tar.gz'
|
url 'http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.7.tar.gz'
|
||||||
homepage 'http://www.dtek.chalmers.se/groups/dvd/'
|
homepage 'http://www.dtek.chalmers.se/groups/dvd/'
|
||||||
md5 '078788c9241ae16763529e1235502337'
|
md5 '078788c9241ae16763529e1235502337'
|
||||||
|
|
||||||
depends_on 'libdvdcss' => :optional
|
depends_on 'libdvdcss' => :optional
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||||
"--prefix=#{prefix}", "--mandir=#{man}", "--with-libdvdcss"
|
"--prefix=#{prefix}",
|
||||||
system "make install"
|
"--mandir=#{man}",
|
||||||
end
|
"--with-libdvdcss"
|
||||||
|
system "make install"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue