--- freem/mk-solaris-package 2025/03/08 06:11:05 1.3 +++ freem/mk-solaris-package 2025/03/08 17:42:33 1.5 @@ -1,14 +1,17 @@ #!/usr/bin/bash PKG=CLDfreem -ARCH=sparc -PKGFILE=${PKG}-${ARCH}.pkg +ARCH=$1 +OS=$2 +VERS=$(cat sem.ver) +SOLVER=$(uname -a | cut -d' ' -f3) +PKGFILE=${PKG}-${VERS}-${OS}${SOLVER}-${ARCH}.pkg cat < pkginfo PKG=${PKG} NAME=Coherent Logic Development FreeM programming language and database. -ARCH=sparcv9 -VERSION=$(cat sem.ver) +ARCH=${ARCH} +VERSION=${VERS} CATEGORY=application BASEDIR=/usr/local EOF