commit: 82cf42cb8ea7ba3b79afbb55296cb6946efe6e3a
parent 0f505594eae34677477193adfd2234fa071fb327
Author: Michael Forney <mforney@mforney.org>
Date: Sat, 10 Mar 2018 16:52:46 -0800
Add monocypher 2.0.1
Diffstat:
4 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -131,6 +131,9 @@
[submodule "pkg/mc/src"]
path = pkg/mc/src
url = https://github.com/oridb/mc
+[submodule "pkg/monocypher/src"]
+ path = pkg/monocypher/src
+ url = https://github.com/LoupVaillant/Monocypher
[submodule "pkg/mpv/src"]
path = pkg/mpv/src
url = https://github.com/mpv-player/mpv
diff --git a/pkg/monocypher/gen.lua b/pkg/monocypher/gen.lua
@@ -0,0 +1,11 @@
+cflags{'-std=c99', '-Wall', '-Wextra'}
+
+pkg.hdrs = {
+ copy('$outdir/include', '$srcdir/src', {'monocypher.h'}),
+ install=true,
+}
+
+lib('libmonocypher.a', {'src/monocypher.c'})
+file('lib/libmonocypher.a', '644', '$outdir/libmonocypher.a')
+
+fetch 'git'
diff --git a/pkg/monocypher/rev b/pkg/monocypher/rev
@@ -0,0 +1 @@
+1
diff --git a/pkg/monocypher/src b/pkg/monocypher/src
@@ -0,0 +1 @@
+Subproject commit e6a8fced97cfae8c85254fd307437ca3d7471e11