summaryrefslogtreecommitdiff
path: root/pkg/libusb/gen.lua
blob: 2612b6d3d212eef8a166eabb9813454145496433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cflags{
	'-I include',
	'-I $dir',
	'-I $srcdir/libusb',
}

pkg.hdrs = copy('$outdir/include', '$srcdir/libusb', {'libusb.h'})

lib('libusb-1.0.a', [[libusb/(
	core.c descriptor.c hotplug.c io.c strerror.c sync.c
	os/(poll_posix.c threads_posix.c linux_usbfs.c linux_netlink.c)
)]])

fetch 'git'