calc devel 2.12.4.13
This commit is contained in:
parent
c2965a6a8c
commit
cce67bd4c6
1 changed files with 13 additions and 13 deletions
|
@ -1,24 +1,24 @@
|
|||
require 'formula'
|
||||
require "formula"
|
||||
|
||||
class Calc < Formula
|
||||
homepage 'http://www.isthe.com/chongo/tech/comp/calc/'
|
||||
url 'http://www.isthe.com/chongo/src/calc/calc-2.12.4.8.tar.bz2'
|
||||
sha1 'c92740e891b88561e8884bfa2238a7591be914ae'
|
||||
homepage "http://www.isthe.com/chongo/tech/comp/calc/"
|
||||
url "http://www.isthe.com/chongo/src/calc/calc-2.12.4.8.tar.bz2"
|
||||
sha1 "c92740e891b88561e8884bfa2238a7591be914ae"
|
||||
|
||||
devel do
|
||||
url 'http://www.isthe.com/chongo/src/calc/calc-2.12.4.10.tar.bz2'
|
||||
sha1 '25e52d49d8c292283130282c44d9d7ec45a31598'
|
||||
url "http://www.isthe.com/chongo/src/calc/calc-2.12.4.13.tar.bz2"
|
||||
sha1 "4d48fb78c903f10e9bcd05c42105498637dea834"
|
||||
end
|
||||
|
||||
depends_on 'readline'
|
||||
depends_on "readline"
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
|
||||
ENV['EXTRA_CFLAGS'] = ENV.cflags
|
||||
ENV['EXTRA_LDFLAGS'] = ENV.ldflags
|
||||
ENV["EXTRA_CFLAGS"] = ENV.cflags
|
||||
ENV["EXTRA_LDFLAGS"] = ENV.ldflags
|
||||
|
||||
readline = Formula['readline']
|
||||
readline = Formula["readline"]
|
||||
inreplace "Makefile" do |s|
|
||||
s.change_make_var! "INCDIR", include
|
||||
s.change_make_var! "BINDIR", bin
|
||||
|
@ -32,13 +32,13 @@ class Calc < Formula
|
|||
"-single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcalc${LIB_EXT_VERSION}"
|
||||
s.change_make_var! "LIBCUSTCALC_SHLIB",
|
||||
"-single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcustcalc${LIB_EXT_VERSION}"
|
||||
s.change_make_var! 'CC',
|
||||
s.change_make_var! "CC",
|
||||
"MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} #{ENV.cc}"
|
||||
s.change_make_var! 'MACOSX_DEPLOYMENT_TARGET', MacOS.version
|
||||
s.change_make_var! "MACOSX_DEPLOYMENT_TARGET", MacOS.version
|
||||
end
|
||||
|
||||
system "make"
|
||||
system "make install"
|
||||
system "make", "install"
|
||||
libexec.install "#{bin}/cscript"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue