dev
sh 21 lines 522 Bytes
Raw
1 #!/bin/bash
2
3 . ./config.sh
4
5 EXPAT_VERSION=R_2_4_8
6 EXPAT_HASH="3bab6c09bbe8bf42d84b81563ddbcf4cca4be838"
7 EXPAT_SRC_DIR=${EXTERNAL_MACOS_SOURCE_DIR}/libexpat
8
9 echo "
10 ============================ EXPAT ============================
11 "
12
13 git clone https://github.com/libexpat/libexpat.git -b ${EXPAT_VERSION} ${EXPAT_SRC_DIR}
14 cd $EXPAT_SRC_DIR
15 test `git rev-parse HEAD` = ${EXPAT_HASH} || exit 1
16 cd $EXPAT_SRC_DIR/expat
17
18 ./buildconf.sh
19 ./configure --enable-static --disable-shared --prefix=${EXTERNAL_MACOS_DIR}
20 make
21 make install