Installation of BurnIT:
=======================

The following describes how to install BurnIT under different
platforms. If your system requires special features let me know.

-------------------------------------------------------------------
Contents:

I:
==
 1: Installation under Linux
 2: Other Systems

II:
===
 1: Setting Permissions

-------------------------------------------------------------------


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% I.1   Installation under Linux
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  1) run install.sh
  2) That's it
 
  Optional:
  1) run install.sh <path>
  2) That's it

BurnIT will default be installed in /usr/local/BurnIT/<files>

If you use "install.sh <path>" the files will be installed in
<path>/<files>

NOTE: Target directory will be removed before installation

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% I.2   Other Systems  (if install.sh doesn't work)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

1) Compile all the JAVA-files:
==============================
   javac *.java

2) Compile cdrecord and mkisofs:
================================
   cd cdrecord-1.6.1
   Gmake

3) Compile cdda2wav:
====================
   cd cdda2wav-0.95beta08
   configure ; make

4) Compile encoder:
===================
   cd encoder
   configure ; make

5) Compile play:
================
   gcc play.c -o play  (Only works on Linux systems)

6) Install the following files to a directory:
==============================================

   Main files (required):
   ======================
   cdrecord
   mkisofs
   cdda2wav
   encode
   play
   *.class
   BurnIT.ini
   advanced.man
   encoder/tables

   Other files (optional):
   =======================
   COPYING
   Readme
   Readme.unsupported
   THANKS
   TODO
   Changelog
   VERSIONS

7) Finally:
===========
   Make a script called BurnIT and put it in /usr/local/bin

   BurnIT:
   -------
   #!/bin/sh
   cd <installdirectory>
   java BurnIT

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% II.1   Setting Permissions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

If you don't want only to let 'root' use the program do the following:

1) Goto the directory where you installed BurnIT.

2) Change the group which should be able to use the burner:
       chgrp -R <group> *

3) Change the owner of cdrecord and mkisofs to 'root' and set suid
       chown root cdrecord
       chown root mkisofs
       chmod +s cdrecord
       chmod +s mkisofs

4) Change the permissions on BurnIT.ini to the user which can setup BurnIT  
       chown root.root BurnIT.ini

5) Change the permissions on the BurnIT script in /usr/local/bin

Now you are set to go.
