mirror of
https://github.com/oasislinux/oasis.git
synced 2026-05-12 21:34:47 +02:00
d4297a13c8
This way, warnings from headers that come from another package (in particular linux-headers) won't show up when they get included. To make sure we still track dependencies, use -MD instead of -MMD.
20 lines
434 B
Lua
20 lines
434 B
Lua
cflags{
|
|
'-include $dir/config.h',
|
|
'-I $srcdir',
|
|
'-isystem $builddir/pkg/bzip2/include',
|
|
}
|
|
|
|
pkg.deps = {'pkg/bzip2/headers'}
|
|
|
|
exe('unzip', [[
|
|
unzip.c crc32.c crypt.c envargs.c explode.c
|
|
extract.c fileio.c globals.c inflate.c list.c match.c
|
|
process.c ttyio.c ubz2err.c unreduce.c unshrink.c zipinfo.c
|
|
unix/unix.c
|
|
$builddir/pkg/bzip2/libbz2.a
|
|
]])
|
|
file('bin/unzip', '755', '$outdir/unzip')
|
|
man{'man/unzip.1'}
|
|
|
|
fetch 'curl'
|