set rule = skip

cd $BUILD/$package

if ( $installman == "1" ) then
	exit 0
endif

if ( $installonly == "0" ) then
	(echo "Configuring in $package..." ; \
	rm -f config.cache ; \
	./configure --prefix=/usr/athena --with-x-toolkit \
	 --sharedstatedir=/var/tmp --with-pop --with-hesiod \
	 --with-kerberos --x-includes= --x-libraries= ) >>& $outfile && \
	(echo "Cleaning in $package..." ; make clean) >>& $outfile && \
	(echo "Building in $package..." ; make) >>& $outfile
	if ( $status == 1 ) then
        	echo "We bombed in $package" >> & $outfile
	       	exit -1
	endif
endif

(echo "Installing in $package..." ; make install DESTDIR=$SRVD) >>& $outfile
if ( $status == 1 ) then
       	echo "We bombed in $package" >> & $outfile
       	exit -1
endif

