-
Notifications
You must be signed in to change notification settings - Fork 5
Building
insobot can be built on Linux with a recent version of gcc or clang via GNU make.
Just run make
and the insobot executable will be built in the top-level directory, and the modules into a modules subdirectory that is created if necessary.
The main executable depends on:
- libircclient
- libcurl
Certain modules have additional dependencies:
-
mod_linkinfo, mod_twitch, mod_quotes, mod_imgmacro and others:
- libyajl
-
mod_markov:
- zlib
-
mod_imgmacro:
- libcairo
zlib and cairo are optional, and mod_markov and mod_imgmacro are skipped by the makefile if they're not available.
You can now select a subset of the modules to build by setting the MODULES
variable in src/Makefile
, or better yet, in the src/config.mk
file. This latter file isn't in git, so won't get overwritten.
For a minimal set of modules, try this in src/config.mk:
MODULES := core whitelist linkinfo
But you'll probably want to add more.