Annotation of freem/mk-solaris-package, revision 1.5
1.1 snw 1: #!/usr/bin/bash
2:
1.2 snw 3: PKG=CLDfreem
1.4 snw 4: ARCH=$1
1.5 ! snw 5: OS=$2
1.4 snw 6: VERS=$(cat sem.ver)
7: SOLVER=$(uname -a | cut -d' ' -f3)
1.5 ! snw 8: PKGFILE=${PKG}-${VERS}-${OS}${SOLVER}-${ARCH}.pkg
1.1 snw 9:
1.2 snw 10: cat <<EOF > pkginfo
11: PKG=${PKG}
1.3 snw 12: NAME=Coherent Logic Development FreeM programming language and database.
1.4 snw 13: ARCH=${ARCH}
14: VERSION=${VERS}
1.1 snw 15: CATEGORY=application
16: BASEDIR=/usr/local
17: EOF
1.2 snw 18:
19: pkgmk -o -d /tmp -a ${ARCH}
20: touch ${PKGFILE}
21: pkgtrans -s /tmp ${PKGFILE} ${PKG}
22: rm -r /tmp/${PKG}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>