
Binary distribution
-------------------

Goals:

  * offer simple installation for peoples without computer skills
  * be multiplatform
  * be independent on local libraries (version and configuration diversity)


Because:
  
  * users are not computer specialist but astronomers
  * there is many of unix flavours (espetially linux distributions) 
  * there is great diversity in presence and configuration of required 
    libraries in many linux distributions
  * It is very difficult to maintain distribution packages for 
    Debian (stable, testing, unstable,..), Ubuntu (8.x,9.x,10.x..),
    Fedora..., Mandriva, ...., *BSD, ...



How to create a binary self-installation package
-----------------------------------------------


* Install makeself (http://megastep.org/makeself/)

* Check compilers:

     c++
     fortran
 
   and utilities 
   
      make
      cmake
      pkg-config
      fltk

* Create a distribution directory (/var/tmp/distdir) 
  and put some stuff here:

   munipack-*.tar.gz  
   rawtran-*.tar.gz   
   fitspng-*.tar.gz
   cfitsio*.tar.gz
   wxGTK-*.tar.gz
   plplot-*.tar.gz
   libpng-*.tar.bz2
   epm-*.tar.gz
   patchelf*.tar.gz

* Run the script builder.sh in an empty (!) directory:

  $ (cd /var/tmp/distdir && tar zxf munipack-*.tar.gz)
  $ /var/tmp/distdir/dist/builder.sh /var/tmp/distdir >& log

  It will create a subdirectory setup/ with self-installation
  package munipack*bin.




