summaryrefslogtreecommitdiff
path: root/pkg/ncompress/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-12-30 11:30:37 -0800
committerMichael Forney <mforney@mforney.org>2019-12-30 11:30:37 -0800
commita0c6afd077b365ef84e9b65b676c4a770bdf71f0 (patch)
tree58d54eab9190b0867b6e9c4b2798f3c2baa1e4aa /pkg/ncompress/gen.lua
parent822416cc4e5e863a234d2e86a4ce461a093ee009 (diff)
Add ncompress 4.2.4.5
Diffstat (limited to 'pkg/ncompress/gen.lua')
-rw-r--r--pkg/ncompress/gen.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/ncompress/gen.lua b/pkg/ncompress/gen.lua
new file mode 100644
index 00000000..b4ee6380
--- /dev/null
+++ b/pkg/ncompress/gen.lua
@@ -0,0 +1,10 @@
+cflags{
+ '-std=c99', '-Wall', '-Wpedantic',
+ '-D _POSIX_C_SOURCE=200809L',
+ '-include $dir/config.h',
+}
+
+exe('lzw', {'compress42.c'})
+file('bin/lzw', '755', '$outdir/lzw')
+
+fetch 'git'