Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > b61c7ad514c778ac6b408d0719486218 > files > 3

waitclose-0.3-4mdk.ppc.rpm

##############################################################################
#
#  $RCSfile: INSTALL,v $
#
#  waitclose INSTALL file
#  Original Author: Caskey Dickson <caskey@technocage.com> 2001-02-07
#  Copyright 2001 TechnoCage, Inc.  All Rights Reserved
#  $Id: INSTALL,v 1.3 2001/04/28 20:20:50 caskey Exp $
#
#   This program is free software; you can redistribute it and/or
#   modify it under the terms of the GNU General Public License
#   as published by the Free Software Foundation; either version 2
#   of the License, or (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software Foundation, 
#   Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
##############################################################################

Build:

  With gnu make you can just do:

    $ make waitclose

  That simply does the following command:

    $ gcc -o waitclose waitclose.c

  The more paranoid will do it the right way like so:

    $ gcc -Wall -o waitclose waitclose.c

Install:

  Copy the program somewhere you want to use it from.  The program could
be safe for suid install but I don't recommend it as a rule.  The person
running the program needs access permissions to the cdrom drive.  Depending
upon your application you may or may not want to make the cd drives world
readable.  They don't have the same access issues as hard drives so world
readability isn't as big of an issue.  YMMV, do what you think solves your
problem and re-read the warranty disclaimer.