summaryrefslogtreecommitdiff
path: root/homebrew/calc/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/calc/.beer')
-rw-r--r--homebrew/calc/.beer34
1 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/calc/.beer b/homebrew/calc/.beer
new file mode 100644
index 000000000..c39fe52e3
--- /dev/null
+++ b/homebrew/calc/.beer
@@ -0,0 +1,34 @@
+{
+ "name": "Calc",
+ "description": "Arbitrary precision calculator",
+ "url": "https://downloads.sourceforge.net/project/calc/calc/2.12.7.1/calc-2.12.7.1.tar.bz2",
+ "mirror": null,
+ "homepage": "http://www.isthe.com/chongo/tech/comp/calc/",
+ "depends": [
+ {
+ "depend": "readline",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.deparallelize",
+ "ENV[\"EXTRA_CFLAGS\"] = ENV.cflags",
+ "ENV[\"EXTRA_LDFLAGS\"] = ENV.ldflags",
+ "readline = Formula[\"readline\"]",
+ "system \"make\", \"install\", \"INCDIR=#{MacOS.sdk_path}/usr/include\",",
+ "\"BINDIR=#{bin}\",",
+ "\"LIBDIR=#{lib}\",",
+ "\"MANDIR=#{man1}\",",
+ "\"CALC_INCDIR=#{include}/calc\",",
+ "\"CALC_SHAREDIR=#{pkgshare}\",",
+ "\"USE_READLINE=-DUSE_READLINE\",",
+ "\"READLINE_LIB=-L#{readline.opt_lib} -lreadline\",",
+ "\"READLINE_EXTRAS=-lhistory -lncurses\"",
+ "libexec.install \"#{bin}/cscript\""
+ ],
+ "version": "2.12.7.1",
+ "file": "calc.rb"
+} \ No newline at end of file