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