summaryrefslogtreecommitdiff
path: root/pkg/bc/gen.lua
blob: 18f8dadc1deab589e02f47b5ddb8351f0ae01565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cflags{
	'-D HAVE_CONFIG_H',
	'-I $dir',
	'-I $srcdir/h',
}

lib('libbc.a', {'lib/number.c'})
exe('bin/bc', [[
	bc/(main.c bc.c scan.c execute.c load.c storage.c util.c global.c warranty.c)
	libbc.a
]])
file('bin/bc', '755', '$outdir/bin/bc')
man{'doc/bc.1'}

fetch 'curl'