jiixyj / epoll-shim

small epoll implementation using kqueue; includes all features needed for libinput/libevdev
MIT License
91 stars 24 forks source link

Install pkg-config file #5

Closed emersion closed 5 years ago

emersion commented 6 years ago

Something like

prefix=/usr/local
exec_prefix=\$\{\$prefix\}
libdir=${prefix}/lib
sharedlibdir=${prefix}/lib
includedir=${prefix}/include/libepoll-shim
Name: epoll-shim
Description: epoll shim implemented using kevent
Version: 0
Requires:
Libs: -L${libdir} -L${sharedlibdir} -lepoll-shim -lthr
Cflags: -I${includedir}
jiixyj commented 5 years ago

I've finally gotten around to adding a pkg-config file to the build. It should be identical to the one already installed by the FreeBSD port.