summaryrefslogtreecommitdiff
path: root/pkg/libutp/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-07-05 14:22:02 -0700
committerMichael Forney <mforney@mforney.org>2019-07-06 01:24:36 -0700
commite8db0dee22d2c8929661c35cc5825684ccc1ca23 (patch)
treebe4877238c5eb57ea30befef1b530450d3cb47db /pkg/libutp/gen.lua
parenta87a386e3a5ef715fc65affe9dfa9eae09d13270 (diff)
Add C version of libutp
Diffstat (limited to 'pkg/libutp/gen.lua')
-rw-r--r--pkg/libutp/gen.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/libutp/gen.lua b/pkg/libutp/gen.lua
new file mode 100644
index 00000000..187fafe7
--- /dev/null
+++ b/pkg/libutp/gen.lua
@@ -0,0 +1,9 @@
+cflags{
+ '-Wall',
+ '-D POSIX',
+ '-I $srcdir',
+}
+
+lib('libutp.a', {'utp.c', 'utp_utils.c'})
+
+fetch 'git'