build.sh 340 B

12345678910111213
  1. #!/bin/bash
  2. set -ex
  3. autoreconf -f
  4. ./configure --prefix=${PREFIX} \
  5. --host=${HOST} \
  6. CFLAGS="${CFLAGS} -I${PREFIX}/include" \
  7. LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
  8. make -j ${CPU_COUNT} ${VERBOSE_AT}
  9. make install
  10. make check
  11. # This conflicts with a file in readline
  12. rm -f ${PREFIX}/share/man/man3/history.3