From 82cf42cb8ea7ba3b79afbb55296cb6946efe6e3a Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 10 Mar 2018 16:52:46 -0800 Subject: Add monocypher 2.0.1 --- pkg/monocypher/gen.lua | 11 +++++++++++ pkg/monocypher/rev | 1 + pkg/monocypher/src | 1 + 3 files changed, 13 insertions(+) create mode 100644 pkg/monocypher/gen.lua create mode 100644 pkg/monocypher/rev create mode 160000 pkg/monocypher/src (limited to 'pkg') diff --git a/pkg/monocypher/gen.lua b/pkg/monocypher/gen.lua new file mode 100644 index 00000000..8b8b2b13 --- /dev/null +++ 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 new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/pkg/monocypher/rev @@ -0,0 +1 @@ +1 diff --git a/pkg/monocypher/src b/pkg/monocypher/src new file mode 160000 index 00000000..e6a8fced --- /dev/null +++ b/pkg/monocypher/src @@ -0,0 +1 @@ +Subproject commit e6a8fced97cfae8c85254fd307437ca3d7471e11 -- cgit v1.2.3