diff options
Diffstat (limited to 'packaging/ios')
-rw-r--r-- | packaging/ios/build.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index e186f4077..39a74a58e 100644 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -130,9 +130,11 @@ echo next building for $ARCH fi if [ ! -e libxml2-${LIBXML2_VERSION}.tar.gz ] ; then - wget ftp://xmlsoft.org/libxml2/libxml2-${LIBXML2_VERSION}.tar.gz + # wget ftp://xmlsoft.org/libxml2/libxml2-${LIBXML2_VERSION}.tar.gz + wget http://api.github.com/repos/GNOME/libxml2/tarball/v${LIBXML2_VERSION} -O libxml2-${LIBXML2_VERSION}.tar.gz fi if [ ! -e libxml2-${LIBXML2_VERSION} ] ; then + tar -zxf libxml2-${LIBXML2_VERSION}.tar.gz --strip 1 -C libxml2-${LIBXML2_VERSION} tar -zxf libxml2-${LIBXML2_VERSION}.tar.gz fi if [ ! -e $PKG_CONFIG_LIBDIR/libxml-2.0.pc ] ; then @@ -151,10 +153,12 @@ echo next building for $ARCH fi if [ ! -e libxslt-${LIBXSLT_VERSION}.tar.gz ] ; then - wget ftp://xmlsoft.org/libxml2/libxslt-${LIBXSLT_VERSION}.tar.gz + # wget ftp://xmlsoft.org/libxml2/libxslt-${LIBXSLT_VERSION}.tar.gz + wget http://api.github.com/repos/GNOME/libxslt/tarball/v${LIBXSLT_VERSION} -O libxslt-${LIBXSLT_VERSION}.tar.gz fi if [ ! -e libxslt-${LIBXSLT_VERSION} ] ; then - tar -zxf libxslt-${LIBXSLT_VERSION}.tar.gz + mkdir -p libxslt-${LIBXSLT_VERSION} + tar -zxf libxslt-${LIBXSLT_VERSION}.tar.gz --strip 1 -C libxslt-${LIBXSLT_VERSION} # libxslt have too old config.sub cp libxml2-${LIBXML2_VERSION}/config.sub libxslt-${LIBXSLT_VERSION} fi |