#!/usr/bin/bash PKGTMP="/tmp/CLDWfreem" OLDDIR=$(pwd) DISTROOT="../../../../" rm -rf "${PKGTMP}" cd "${DISTROOT}" ./configure --prefix=${PKGTMP} make clean make make install ./configure --prefix=/usr/local make clean make cp src/freem ${PKGTMP}/bin/ cp src/fmadm ${PKGTMP}/bin/ cd "${OLDDIR}" cat < "${PKGTMP}/pkginfo" PKG=CLDWfreem NAME=FreeM programming language and database. ARCH=sparcv9 VERSION=$(cat ../../../../sem.ver) CATEGORY=application BASEDIR=/usr/local EOF