Homepage says it all: Liboil may be modified and distributed in accordance with a very liberal license commonly referred to as "Two-Clause BSD". Gentoo says it is LGPL.
done