setup.in

Wed, 05 Aug 2009 23:34:14 +0800

author
Tim Post <echo@echoreply.us>
date
Wed, 05 Aug 2009 23:34:14 +0800
branch
tinkertim
changeset 21
534208ff2734
parent 12
319c21fd28fe
permissions
-rw-r--r--

Make setup.in generic (foomatic)

tinkertim@0 1 # On most systems, this never needs to change.
tinkertim@0 2 EXIT_FAILURE=1
tinkertim@0 3 EXIT_SUCCESS=0
tinkertim@0 4
tinkertim@0 5 # Where to find files containing setup functions?
tinkertim@0 6 # (no trailing slash)
tinkertim@0 7 LIBS="libs"
tinkertim@0 8
tinkertim@0 9 # Some programs require root access to look for files or
tinkertim@0 10 # ultimately install a program. If so, define them here.
tinkertim@0 11 # SETUP_NEEDSROOT indicates that you must be root to run 'setup'
tinkertim@0 12 # INSTALL_NEEDSROOT indicates that you must be root to run the
tinkertim@0 13 # resulting 'install.sh', written by setup.
tinkertim@0 14 SETUP_NEEDSROOT="no"
tinkertim@0 15 INSTALL_NEEDSROOT="yes"
tinkertim@0 16
tinkertim@0 17 # Default preferences and other things that can/will be changed by
tinkertim@0 18 # arguments
tinkertim@0 19 USE_DIALOG="yes"
tinkertim@0 20 AUTO_PACKAGE_INSTALL="yes"
tinkertim@0 21 FORCE="no"
tinkertim@0 22 SKIP_PACKAGES="no"
tinkertim@0 23 SKIP_DEPS="no"
tinkertim@0 24 SKIP_TASKS="no"
tinkertim@0 25
tinkertim@0 26 # Default paths that can/will be changed by arguments
tinkertim@0 27 # All paths but SYSCONFDIR are relative to PREFIX
tinkertim@0 28 PREFIX="/usr/local"
tinkertim@0 29 SYSCONFDIR="/etc"
tinkertim@0 30
tinkertim@0 31 # If you want the installation logged, define the logfile here. If
tinkertim@0 32 # empty or null, no log will be created.
tinkertim@12 33 INSTALL_LOG="$(pwd)/setup.log"
tinkertim@0 34
tinkertim@0 35 # Load core functions and begin
tinkertim@0 36 BEGIN
echo@21 37 SETUP_INIT "Foomatic" "0.2.5" "<foomatic-devel@foomatic.org>"

mercurial