There is not much difference between a Windows and a Linux metamod plugin, because metamod already abstracts all the OS-specific declarations. We have some very simple plugins here in the filebase, almost all of which come with source code. Just grab one and see for yourself
Note that you must have GCC 2.95 or 2.96 to compile a working plugin for Linux, because the GCC 3.x series are known not to work.