summaryrefslogtreecommitdiff
path: root/homebrew/calc/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/calc/.make.sh-auto')
-rw-r--r--homebrew/calc/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/calc/.make.sh-auto b/homebrew/calc/.make.sh-auto
new file mode 100644
index 000000000..a6a6586d3
--- /dev/null
+++ b/homebrew/calc/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.deparallelize
+ENV["EXTRA_CFLAGS"] = ENV.cflags
+ENV["EXTRA_LDFLAGS"] = ENV.ldflags
+readline = Formula["readline"]
+make DESTDIR=${PKG_DEST} install INCDIR=#{MacOS.sdk_path}/usr/include BINDIR=#{bin} LIBDIR=${PKG_TAPF}/lib MANDIR=#{man1} CALC_INCDIR=#{include}/calc CALC_SHAREDIR=${PKG_TAPF}/share USE_READLINE=-DUSE_READLINE READLINE_LIB=-L#{readline.opt_lib} -lreadline READLINE_EXTRAS=-lhistory -lncurses
+libexec.install "#{bin}/cscript"