#! /bin/sh if [ "z$1" = "z" ] ; then echo You must specify an architecture to build for! exit 1 fi case "$1" in solaris) LD_RUN_PATH=/usr/lib:/usr/local/lib autoreconf PATH=.:..:$PATH configure --with-cgiurl=/netsaint/cgi-bin \ --with-htmurl=/netsaint \ --with-lockfile=/var/run/netsaint.pid \ --with-netsaint-user=netsaint \ --with-netsaint-grp=netsaint \ --with-command-user=netsaint \ --with-command-grp=www \ --prefix=/usr/local \ --exec-prefix=/usr/local/sbin \ --bindir=/usr/local/sbin \ --sbindir=/usr/local/lib/netsaint/cgi \ --libexecdir=/usr/local/lib/netsaint/plugins \ --datadir=/usr/local/share/netsaint \ --sysconfdir=/etc/netsaint \ --localstatedir=/var/log/netsaint \ --with-mail=/usr/bin/mailx make pkgclean make all make pkgset ;; *) echo Platform $1 is not currently supported exit 1 ;; esac exit 0