diff options
Diffstat (limited to 'pkg/monocypher/gen.lua')
| -rw-r--r-- | pkg/monocypher/gen.lua | 11 |
1 files changed, 11 insertions, 0 deletions
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' |
