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