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