Please visit the ENet homepage at http://enet.bespin.org for installation and usage instructions.
If you obtained this package from github, the quick description on how to build is:
mkdir build && cmake ... builds the static version
or mkdir build && cmake ... -DBUILD_SHARED builds the shared version
cd build && make && make install
autoreconf -vfi
./configure && make && make install