File:  [Coherent Logic Development] / freem / mk-solaris-package
Revision 1.4: download - view: text, annotated - select for diffs
Sat Mar 8 06:24:37 2025 UTC (3 weeks, 5 days ago) by snw
Branches: MAIN
CVS tags: HEAD
Fix mk-solaris-package script to produce a more descriptive filename

#!/usr/bin/bash

PKG=CLDfreem
ARCH=$1
VERS=$(cat sem.ver)
SOLVER=$(uname -a | cut -d' ' -f3)
PKGFILE=${PKG}-${VERS}-solaris${SOLVER}-${ARCH}.pkg

cat <<EOF > pkginfo
PKG=${PKG}
NAME=Coherent Logic Development FreeM programming language and database.
ARCH=${ARCH}
VERSION=${VERS}
CATEGORY=application
BASEDIR=/usr/local
EOF

pkgmk -o -d /tmp -a ${ARCH}
touch ${PKGFILE}
pkgtrans -s /tmp ${PKGFILE} ${PKG}
rm -r /tmp/${PKG}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>