summaryrefslogtreecommitdiff
path: root/pkg/libtermkey/gen.lua
blob: f9df816e1fa80b3858cf54e29e035e2768f86a25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cflags{
	'-std=c99', '-Wall',
	'-isystem $builddir/pkg/ncurses/include',
}

pkg.hdrs = copy('$outdir/include', '$srcdir', {'termkey.h'})
pkg.deps = {'pkg/ncurses/headers'}

lib('libtermkey.a', {
	'termkey.c',
	'driver-csi.c',
	'driver-ti.c',
	'$builddir/pkg/ncurses/libncurses.a',
})

fetch 'curl'