--- freem/mk-solaris-package 2025/03/08 06:11:05 1.3 +++ freem/mk-solaris-package 2025/03/08 06:24:37 1.4 @@ -1,14 +1,16 @@ #!/usr/bin/bash PKG=CLDfreem -ARCH=sparc -PKGFILE=${PKG}-${ARCH}.pkg +ARCH=$1 +VERS=$(cat sem.ver) +SOLVER=$(uname -a | cut -d' ' -f3) +PKGFILE=${PKG}-${VERS}-solaris${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