summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/monocypher/gen.lua11
-rw-r--r--pkg/monocypher/rev1
m---------pkg/monocypher/src0
3 files changed, 12 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'
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
+Subproject e6a8fced97cfae8c85254fd307437ca3d7471e1