/[monit]/monit/contrib/packages/solaris/makesolpkg.sh
ViewVC logotype

Diff of /monit/contrib/packages/solaris/makesolpkg.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by leppo, Mon Jul 15 13:49:19 2002 UTC revision 1.2 by chopp, Tue Sep 17 12:56:43 2002 UTC
# Line 26  md5=/usr/local/bin/md5 Line 26  md5=/usr/local/bin/md5
26  prefix=/usr/local  prefix=/usr/local
27  vendor="http://www.tildeslash.com/monit/"  vendor="http://www.tildeslash.com/monit/"
28    
29  version=`grep VERSION monitor.h | sed 's/^.*"\(.*\)".*$/\1/'`  version=`cat configure.ac | sed -n -e '/AC_INIT/s%.*\[\([0-9.]*\)\].*%\1%p'`
30  pstamp=monit`hostname | cut -d "." -f 1`-`date +%Y%m%d%H%M`  pstamp=monit`hostname | cut -d "." -f 1`-`date +%Y%m%d%H%M`
31  platform=`uname -p`  platform=`uname -p`
32  release=`uname -r | sed 's/5\./sol/'`  release=`uname -r | sed 's/5\./sol/'`
# Line 39  docs="monitrc CHANGES.txt CONTRIBUTORS C Line 39  docs="monitrc CHANGES.txt CONTRIBUTORS C
39  # 1) Compilation phase  # 1) Compilation phase
40  # --------------------  # --------------------
41    
42    if [ -f Makefile ]; then
43        $make clean
44    fi
45    
46  ./configure --prefix=$prefix  ./configure --prefix=$prefix
47  $make  $make
48    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26