master hovercats/oakiss / pkg / unzip / gen.lua
 1cflags{
 2	'-include $dir/config.h',
 3	'-I $srcdir',
 4	'-isystem $builddir/pkg/bzip2/include',
 5}
 6
 7pkg.deps = {'pkg/bzip2/headers'}
 8
 9exe('unzip', [[
10        unzip.c crc32.c crypt.c envargs.c explode.c
11	extract.c fileio.c globals.c inflate.c list.c match.c
12	process.c ttyio.c ubz2err.c unreduce.c unshrink.c zipinfo.c
13	unix/unix.c
14	$builddir/pkg/bzip2/libbz2.a
15]])
16file('bin/unzip', '755', '$outdir/unzip')
17man{'man/unzip.1'}
18
19fetch 'curl'