summaryrefslogtreecommitdiff
path: root/homebrew/cryptopp
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/cryptopp')
-rw-r--r--homebrew/cryptopp/.beer18
-rw-r--r--homebrew/cryptopp/.make.sh-auto4
-rw-r--r--homebrew/cryptopp/_metadata/description1
-rw-r--r--homebrew/cryptopp/_metadata/homepage1
-rw-r--r--homebrew/cryptopp/_metadata/name1
-rw-r--r--homebrew/cryptopp/_metadata/version1
-rwxr-xr-xhomebrew/cryptopp/download.sh1
7 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/cryptopp/.beer b/homebrew/cryptopp/.beer
new file mode 100644
index 000000000..9a3dfd019
--- /dev/null
+++ b/homebrew/cryptopp/.beer
@@ -0,0 +1,18 @@
+{
+ "name": "Cryptopp",
+ "description": "Free C++ class library of cryptographic schemes",
+ "url": "https://github.com/weidai11/cryptopp/archive/CRYPTOPP_8_1_0.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.cryptopp.com/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"shared\", \"all\", \"CXX=#{ENV.cxx}\"",
+ "system \"./cryptest.exe\", \"v\"",
+ "system \"make\", \"install\", \"PREFIX=#{prefix}\""
+ ],
+ "version": "8_1_0",
+ "file": "cryptopp.rb"
+} \ No newline at end of file
diff --git a/homebrew/cryptopp/.make.sh-auto b/homebrew/cryptopp/.make.sh-auto
new file mode 100644
index 000000000..5c3bf23ee
--- /dev/null
+++ b/homebrew/cryptopp/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+make shared all CXX=${PKG_TARG}-clang++
+./cryptest.exe v
+make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF}
diff --git a/homebrew/cryptopp/_metadata/description b/homebrew/cryptopp/_metadata/description
new file mode 100644
index 000000000..a7df5e3bf
--- /dev/null
+++ b/homebrew/cryptopp/_metadata/description
@@ -0,0 +1 @@
+Free C++ class library of cryptographic schemes
diff --git a/homebrew/cryptopp/_metadata/homepage b/homebrew/cryptopp/_metadata/homepage
new file mode 100644
index 000000000..b5a1549af
--- /dev/null
+++ b/homebrew/cryptopp/_metadata/homepage
@@ -0,0 +1 @@
+https://www.cryptopp.com/
diff --git a/homebrew/cryptopp/_metadata/name b/homebrew/cryptopp/_metadata/name
new file mode 100644
index 000000000..53246b530
--- /dev/null
+++ b/homebrew/cryptopp/_metadata/name
@@ -0,0 +1 @@
+Cryptopp
diff --git a/homebrew/cryptopp/_metadata/version b/homebrew/cryptopp/_metadata/version
new file mode 100644
index 000000000..c20b31f9a
--- /dev/null
+++ b/homebrew/cryptopp/_metadata/version
@@ -0,0 +1 @@
+8_1_0
diff --git a/homebrew/cryptopp/download.sh b/homebrew/cryptopp/download.sh
new file mode 100755
index 000000000..6b7254bbe
--- /dev/null
+++ b/homebrew/cryptopp/download.sh
@@ -0,0 +1 @@
+wget https://github.com/weidai11/cryptopp/archive/CRYPTOPP_8_1_0.tar.gz \ No newline at end of file