1234567891011121314151617 |
- #!/bin/bash
- RETCODE=$(fw_exists ${IROOT}/stack.installed)
- [ ! "$RETCODE" == 0 ] || { \
- source $IROOT/stack.installed
- return 0; }
- fw_get -o $IROOT/stack.tar.gz https://www.stackage.org/stack/linux-x86_64
- tar xzf $IROOT/stack.tar.gz
- pushd $IROOT/stack-*
- mv stack $IROOT
- popd
- sudo apt-get -y install perl make automake gcc libgmp3-dev
- touch $IROOT/stack.installed
- source $IROOT/stack.installed
|