build.sh 692 B

123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. # Get an updated config.sub and config.guess
  3. cp $BUILD_PREFIX/share/libtool/build-aux/config.* .
  4. # need macosx-version-min flags set in cflags and not cppflags
  5. export CFLAGS="$CFLAGS $CPPFLAGS"
  6. ./configure \
  7. --prefix=${PREFIX} \
  8. --host=${HOST} \
  9. --disable-ldap \
  10. --disable-manual \
  11. --with-ca-bundle=${PREFIX}/ssl/cacert.pem \
  12. --with-ssl=${PREFIX} \
  13. --with-zlib=${PREFIX} \
  14. --with-gssapi=${PREFIX} \
  15. --with-libssh2=${PREFIX} \
  16. --with-nghttp2=${PREFIX} \
  17. || cat config.log
  18. make -j${CPU_COUNT} ${VERBOSE_AT}
  19. # TODO :: test 1119... exit FAILED
  20. # make test
  21. make install
  22. # Includes man pages and other miscellaneous.
  23. rm -rf "${PREFIX}/share"