Annotation of freem-rpmbuild-os2/prepare.sh, revision 1.1
1.1 ! snw 1: #!/usr/bin/bash
! 2:
! 3: if [[ $# != 1 ]]
! 4: then
! 5: echo "usage: prepare.sh <freem-version>"
! 6: exit 1
! 7: fi
! 8:
! 9: FREEM_VERSION=$1
! 10: DOWNLOAD_URL="http://freem.coherent-logic.com/downloads/freem-${FREEM_VERSION}.tar.gz"
! 11:
! 12: mkdir -p ~/rpmbuild/{SOURCES,SRPMS,RPMS,SPECS,BUILD,BUILDROOT}
! 13:
! 14: wget "${DOWNLOAD_URL}"
! 15: mv freem-${FREEM_VERSION}.tar.gz /Home/rpmbuild/SOURCES/
! 16: rpmbuild -ba SPECS/freem.spec
! 17:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>