diff options
| author | Michael Forney <mforney@mforney.org> | 2018-04-17 14:22:20 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2018-04-17 14:22:20 -0700 |
| commit | aa86f4ffb5cc44fdf7277f87421c5b8013053093 (patch) | |
| tree | fae6ed59a84af670ee1965763af99ea730626a7a /pkg/file/gen.lua | |
| parent | 62ec8af993cdd8a8dab5b6ba3d47d792ce29a70b (diff) | |
file: Update to 5.33
Diffstat (limited to 'pkg/file/gen.lua')
| -rw-r--r-- | pkg/file/gen.lua | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/pkg/file/gen.lua b/pkg/file/gen.lua index dc1074d1..43389cff 100644 --- a/pkg/file/gen.lua +++ b/pkg/file/gen.lua @@ -1,10 +1,9 @@ -local version = '5.32' +local version = '5.33' cflags{ '-Wall', '-D HAVE_CONFIG_H', [[-D 'MAGIC="/share/file/magic"']], '-D _GNU_SOURCE', - '-I include', '-I $dir', '-I $outdir/include', '-I $builddir/pkg/zlib/include', @@ -27,27 +26,15 @@ pkg.hdrs = {'$outdir/include/magic.h'} pkg.deps = {'$dir/headers', 'pkg/zlib/headers'} lib('libmagic.a', [[src/( - magic.c - apprentice.c - softmagic.c - ascmagic.c - encoding.c - compress.c - is_tar.c - readelf.c - print.c - fsmagic.c - funcs.c - apptype.c - der.c - cdf.c - cdf_time.c - readcdf.c + buffer.c magic.c apprentice.c softmagic.c ascmagic.c + encoding.c compress.c is_tar.c readelf.c print.c fsmagic.c + funcs.c apptype.c der.c + cdf.c cdf_time.c readcdf.c fmtcheck.c )]]) -exe('file', {'src/file.c', 'libmagic.a', '$builddir/pkg/zlib/libz.a'}) +exe('file', {'src/file.c', 'src/seccomp.c', 'libmagic.a', '$builddir/pkg/zlib/libz.a'}) file('bin/file', '755', '$outdir/file') man{'$outdir/file.1'} |
