cphalcon.sh 557 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # phalcon.so
  3. # The configure seems broken, does not respect prefix. If you
  4. # update the value of PATH then it finds the prefix from `which php`
  5. RETCODE=$(fw_exists ${IROOT}/cphalcon.installed)
  6. [ ! "$RETCODE" == 0 ] || { return 0; }
  7. export PATH=$IROOT/php-5.5.17/bin:$IROOT/php-5.5.17/sbin:$PATH
  8. git clone git://github.com/phalcon/cphalcon.git
  9. cd cphalcon
  10. git checkout phalcon-v1.3.2
  11. cd build/64bits
  12. $IROOT/php-5.5.17/bin/phpize
  13. ./configure --prefix=$IROOT/php-5.5.17 --enable-phalcon
  14. make
  15. make install
  16. touch ${IROOT}/cphalcon.installed