Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants and several cpio formats. It can also write shar archives.
http://code.google.com/p/libarchive/
This installer guides you through the steps necessary to install libarchive 2.8.4 for Mac OS X. To get started, click Continue.