51 |
|
SOURCEDIR=$1 |
52 |
|
DESTDIR=$2 |
53 |
|
LIBTOOL=$3 |
54 |
+ |
CONFIGUREARGS=$4 |
55 |
|
cd $SOURCEDIR |
56 |
|
if [ "X$TAG" != "X" ]; then |
57 |
|
cvs -d $CVSROOT update -dPr $TAG |
64 |
|
libtoolize -c |
65 |
|
fi |
66 |
|
automake -a -c |
67 |
< |
./configure |
67 |
> |
./configure $CONFIGUREARGS |
68 |
|
gnumake dist |
69 |
|
TARBALL=`ls *.tar.gz` |
70 |
|
mkdir -p $DESTDIR |
102 |
|
rm -Rf cms |
103 |
|
rm -Rf $BUILDS/* |
104 |
|
|
105 |
+ |
# make sure our local cvs is up-to-date |
106 |
+ |
/usr/local/packages/cvsup/bin/cvsup -L 2 /u1/i-scream/cvsup/supfile |
107 |
+ |
|
108 |
|
# pull the latest source from our local cvs |
109 |
|
echo "+ Updating CVS" |
110 |
|
cvs -d $CVSROOT checkout cms/source |
125 |
|
conient) |
126 |
|
iscreambuild $CMSSOURCE/conient $BUILDS/conient yes |
127 |
|
;; |
124 |
– |
dbreporter) |
125 |
– |
iscreambuild $CMSSOURCE/reports/DBReporter $BUILDS/dbreporter yes |
126 |
– |
;; |
128 |
|
rrdgraphing) |
129 |
|
iscreambuild $CMSSOURCE/reports/rrdgraphing $BUILDS/rrdgraphing no |
130 |
|
;; |
131 |
|
php) |
132 |
|
iscreambuild $CMSSOURCE/reports/php $BUILDS/php no |
133 |
|
;; |
133 |
– |
winhost) |
134 |
– |
iscreambuild $CMSSOURCE/host/winhost $BUILDS/winhost no |
135 |
– |
;; |
134 |
|
libstatgrab) |
135 |
|
gnubuild $CMSSOURCE/libstatgrab $BUILDS/libstatgrab yes |
136 |
|
;; |
137 |
|
ihost) |
138 |
< |
gnubuild $CMSSOURCE/host/ihost $BUILDS/ihost no |
138 |
> |
gnubuild $CMSSOURCE/ihost $BUILDS/ihost no |
139 |
|
;; |
140 |
+ |
libukcprog) |
141 |
+ |
gnubuild $CMSSOURCE/libukcprog $BUILDS/libukcprog yes |
142 |
+ |
;; |
143 |
+ |
idar) |
144 |
+ |
gnubuild $CMSSOURCE/idar $BUILDS/idar no --with-curses-prefix=/usr/local/packages/ncurses |
145 |
+ |
;; |
146 |
|
esac |
147 |
|
done |
148 |
|
|
149 |
|
# sync builds to the web tree |
150 |
|
echo "+ Copying to snapshots web tree" |
151 |
< |
echo rsync -rlpogtxHv $BUILDS/. $WEBSNAPSHOTS |
151 |
> |
rsync -rlpogtxHv $BUILDS/. $WEBSNAPSHOTS |
152 |
|
|
153 |
|
echo "+ Done" |
154 |
|
|