summaryrefslogtreecommitdiff
path: root/homebrew/libtommath
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/libtommath
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/libtommath')
-rw-r--r--homebrew/libtommath/.beer21
-rw-r--r--homebrew/libtommath/.make.sh-auto7
-rw-r--r--homebrew/libtommath/_metadata/description1
-rw-r--r--homebrew/libtommath/_metadata/homepage1
-rw-r--r--homebrew/libtommath/_metadata/name1
-rw-r--r--homebrew/libtommath/_metadata/version1
-rwxr-xr-xhomebrew/libtommath/download.sh1
7 files changed, 33 insertions, 0 deletions
diff --git a/homebrew/libtommath/.beer b/homebrew/libtommath/.beer
new file mode 100644
index 000000000..523c02762
--- /dev/null
+++ b/homebrew/libtommath/.beer
@@ -0,0 +1,21 @@
+{
+ "name": "Libtommath",
+ "description": "C library for number theoretic multiple-precision integers",
+ "url": "https://github.com/libtom/libtommath/releases/download/v1.1.0/ltm-1.1.0.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.libtom.net/LibTomMath/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"DESTDIR\"] = prefix",
+ "system \"make\"",
+ "system \"make\", \"test_standalone\"",
+ "include.install Dir[\"tommath*.h\"]",
+ "lib.install \"libtommath.a\"",
+ "pkgshare.install \"test\""
+ ],
+ "version": "1.1.0",
+ "file": "libtommath.rb"
+} \ No newline at end of file
diff --git a/homebrew/libtommath/.make.sh-auto b/homebrew/libtommath/.make.sh-auto
new file mode 100644
index 000000000..acb8c7cb4
--- /dev/null
+++ b/homebrew/libtommath/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV["DESTDIR"] = prefix
+make
+make test_standalone
+include.install Dir["tommath*.h"]
+lib.install "libtommath.a"
+pkgshare.install "test"
diff --git a/homebrew/libtommath/_metadata/description b/homebrew/libtommath/_metadata/description
new file mode 100644
index 000000000..2e0ba366b
--- /dev/null
+++ b/homebrew/libtommath/_metadata/description
@@ -0,0 +1 @@
+C library for number theoretic multiple-precision integers
diff --git a/homebrew/libtommath/_metadata/homepage b/homebrew/libtommath/_metadata/homepage
new file mode 100644
index 000000000..51eb12067
--- /dev/null
+++ b/homebrew/libtommath/_metadata/homepage
@@ -0,0 +1 @@
+https://www.libtom.net/LibTomMath/
diff --git a/homebrew/libtommath/_metadata/name b/homebrew/libtommath/_metadata/name
new file mode 100644
index 000000000..8c94500cf
--- /dev/null
+++ b/homebrew/libtommath/_metadata/name
@@ -0,0 +1 @@
+Libtommath
diff --git a/homebrew/libtommath/_metadata/version b/homebrew/libtommath/_metadata/version
new file mode 100644
index 000000000..9084fa2f7
--- /dev/null
+++ b/homebrew/libtommath/_metadata/version
@@ -0,0 +1 @@
+1.1.0
diff --git a/homebrew/libtommath/download.sh b/homebrew/libtommath/download.sh
new file mode 100755
index 000000000..1b85cef89
--- /dev/null
+++ b/homebrew/libtommath/download.sh
@@ -0,0 +1 @@
+wget https://github.com/libtom/libtommath/releases/download/v1.1.0/ltm-1.1.0.tar.xz \ No newline at end of file