besides the official libmaple docs, the file notes/portable.txt in the libmaple repo (which i linked to in the other thread you're asking this sort of question on) is a quick rundown on things you need to do.
specifically regarding the clock, you can start here with the PCLK1 and PCLK2 (although this version didn't get pushed until after 0.0.11, so you'll need to use the top of the tree):
https://github.com/leaflabs/libmaple/blob/master/libmaple/stm32.h
however, the rest of the code doesn't really respect that yet, so you'll run into some other problems as you go along. e.g., libmaple/delay.h will need to change, and there's some HardwareSPI code to adjust.
also see the CYCLES_PER_MICROSECOND board-specific value e.g. in wirish/boards/maple.h.
any patches that help libmaple work on more chips/board configurations are very welcome. we really want to see it in widespread use; more users means more bug reports, patches, and feedback, which translates to a stronger library overall. and of course, if you give your code back to us, we'll be able to maintain it as libmaple evolves, which is a win for you.
you may want to check out anton's discovery libmaple fork on github as a starting point:
https://github.com/anton19286/libmaple
p.s., anton, if you're still on the forums, you should send us some pull requests ;).
here are some tips on preparing patches for maximum likelihood of getting pulled in:
http://leaflabs.com/docs/libmaple/contributing.html