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 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkg/monocypher/gen.lua (limited to 'pkg/monocypher/gen.lua') 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' -- cgit v1.2.3