The name of the library main files (.h/.cpp) have to match the name provided in the spark.json name field.
And the examples folder has to be inside firmware.
But I doubt that this lib will work on
Particle devices. It’ll need porting for this platform.
At least application.h needs to be added and some #includes will need to be altered/removed.
Maybe you’ll need to search the forum for instructions how to port a lib 