= pmsrb

http://pmsrb.rubyforge.org

== DESCRIPTION:

pmsrb is a binary (p)ackage (m)anagement (s)ystem meant for gracefully handling the differences in binary distribution on different platforms. This is useful when you rely on a large C/C++ library and would like to distribute the binaries in a cross-platform way.

For example different linux distros use RPM, deb, etc. OSX often needs to compile an xcode project to install a binary. Windows is actually much cleaner in this occasion.

We could rely on the user installing these binary packages, but often times problems arise when someone installs version 1.4.6 by mistake, and your bindings are built against 1.4.7.

On top of this there are sometimes issues you need to hack around when using swig on source libraries. That means that the binaries you distribute may be different than the ones that are publicly available.

This library handles all these edge cases, and automates maintenance on upgrading, platform support, etc.

== FEATURES/PROBLEMS:

There are no problems whatsoever. But let me know if you find some.

PMS supports:
*downloading from ftp/http
*uploading via scp,ftp
*extracting to .tgz, .zip
*archiving to .tgz, .zip
*building(via shell commands)
*delicious low fat Platform

== SYNOPSIS:

PMS::vendor do
working_directory File.dirname(__FILE__)+"/tmp"
if Platform.windows?
download "http://bullet.googlecode.com/files/bullet-#Bulletrb::VERSION::VENDOR.zip"
else
download "http://bullet.googlecode.com/files/bullet-#Bulletrb::VERSION::VENDOR.tgz"
end
extract
build "./configure", "jam" if Platform.linux? || Platform.mac?
end

== REQUIREMENTS:

Windows, Mac, or Linux. Ruby 1.8.

== INSTALL:

sudo gem install pmsrb

== LICENSE:

(The MIT License)

Copyright (c) 2008 FIX

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.