Tpl is a library for serializing C data. The data is stored in its natural binary form. The API is small and tries to stay "out of the way". Compared to using XML, tpl is faster and easier to use in C programs. Tpl can serialize many C data types, including structures. There is also a PERL API, enabled by the perl USE flag.
Created attachment 141947 [details] libtpl-1.2.ebuild
This is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/dev-libs/libtpl
A new version of the ebuild was recently reviewed. Changes made since 02 Fev 2008: 1. Install perl documentation only if 'perl' USE flag provided. 2. Return number of tests failed in the perl script do_tests (patch sent upstream and accepted). Previously, the script always returned zero even if a test failed (and hence portage didn't die).
The ebuild in sunrise was outdated and unmaintained, so it got removed