This code is just using the example from the oficial Erlang documentation about Port Drivers and wrapping it with Elixir mix building tool, plus a Makefile, that gets the include and static library need using pkg-config or asking the path to Erlang VM.