summaryrefslogtreecommitdiff
path: root/pkg/catgirl/gen.lua
blob: 217b00da7a5ed4da87e4c09c571f82e33de17018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cflags{
	'-std=c11', '-Wall', '-Wextra', '-Wpedantic',
	'-Wno-maybe-uninitialized',
	'-D _GNU_SOURCE',
	'-isystem $builddir/pkg/libtls-bearssl/include',
	'-isystem $builddir/pkg/netbsd-curses/include',
}

pkg.deps = {
	'pkg/libtls-bearssl/headers',
	'pkg/netbsd-curses/headers',
}

exe('catgirl', [[
	buffer.c
	chat.c
	command.c
	complete.c
	config.c
	edit.c
	filter.c
	handle.c
	input.c
	irc.c
	log.c
	ui.c
	url.c
	window.c
	xdg.c
	$builddir/pkg/libtls-bearssl/libtls.a.d
	$builddir/pkg/netbsd-curses/libcurses.a.d
]])
file('bin/catgirl', '755', '$outdir/catgirl')
man{'catgirl.1'}

fetch 'git'