summaryrefslogtreecommitdiff
path: root/homebrew/libtomcrypt
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/libtomcrypt
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/libtomcrypt')
-rw-r--r--homebrew/libtomcrypt/.beer19
-rw-r--r--homebrew/libtomcrypt/.make.sh-auto5
-rw-r--r--homebrew/libtomcrypt/_metadata/description1
-rw-r--r--homebrew/libtomcrypt/_metadata/homepage1
-rw-r--r--homebrew/libtomcrypt/_metadata/name1
-rw-r--r--homebrew/libtomcrypt/_metadata/version1
-rwxr-xr-xhomebrew/libtomcrypt/download.sh1
7 files changed, 29 insertions, 0 deletions
diff --git a/homebrew/libtomcrypt/.beer b/homebrew/libtomcrypt/.beer
new file mode 100644
index 000000000..095203317
--- /dev/null
+++ b/homebrew/libtomcrypt/.beer
@@ -0,0 +1,19 @@
+{
+ "name": "Libtomcrypt",
+ "description": "Comprehensive, modular and portable cryptographic toolkit",
+ "url": "https://github.com/libtom/libtomcrypt/archive/v1.18.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.libtom.net/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"test\"",
+ "system \"make\", \"install\", \"PREFIX=#{prefix}\"",
+ "pkgshare.install \"test\"",
+ "(pkgshare/\"tests\").install \"tests/test.key\""
+ ],
+ "version": "1.18.2",
+ "file": "libtomcrypt.rb"
+} \ No newline at end of file
diff --git a/homebrew/libtomcrypt/.make.sh-auto b/homebrew/libtomcrypt/.make.sh-auto
new file mode 100644
index 000000000..b05dcb268
--- /dev/null
+++ b/homebrew/libtomcrypt/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+make test
+make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF}
+pkgshare.install "test"
+(pkgshare/"tests").install "tests/test.key"
diff --git a/homebrew/libtomcrypt/_metadata/description b/homebrew/libtomcrypt/_metadata/description
new file mode 100644
index 000000000..eae5b726b
--- /dev/null
+++ b/homebrew/libtomcrypt/_metadata/description
@@ -0,0 +1 @@
+Comprehensive, modular and portable cryptographic toolkit
diff --git a/homebrew/libtomcrypt/_metadata/homepage b/homebrew/libtomcrypt/_metadata/homepage
new file mode 100644
index 000000000..d327f112e
--- /dev/null
+++ b/homebrew/libtomcrypt/_metadata/homepage
@@ -0,0 +1 @@
+https://www.libtom.net/
diff --git a/homebrew/libtomcrypt/_metadata/name b/homebrew/libtomcrypt/_metadata/name
new file mode 100644
index 000000000..cd74d34c9
--- /dev/null
+++ b/homebrew/libtomcrypt/_metadata/name
@@ -0,0 +1 @@
+Libtomcrypt
diff --git a/homebrew/libtomcrypt/_metadata/version b/homebrew/libtomcrypt/_metadata/version
new file mode 100644
index 000000000..b57fc7228
--- /dev/null
+++ b/homebrew/libtomcrypt/_metadata/version
@@ -0,0 +1 @@
+1.18.2
diff --git a/homebrew/libtomcrypt/download.sh b/homebrew/libtomcrypt/download.sh
new file mode 100755
index 000000000..cd0302833
--- /dev/null
+++ b/homebrew/libtomcrypt/download.sh
@@ -0,0 +1 @@
+wget https://github.com/libtom/libtomcrypt/archive/v1.18.2.tar.gz \ No newline at end of file