Sha256: d41aa4ec7d09398c26fa8a8a15f41d7471d69854b6b96e58b78087248c4f3cbf
Contents?: true
Size: 1.92 KB
Versions: 58
Compression:
Stored size: 1.92 KB
Contents
# This is a shell script that calls functions and scripts from # tml@iki.fi's personal work environment. It is not expected to be # usable unmodified by others, and is included only for reference. MOD=libxml2 VER=2.9.0 REV=1 ARCH=win32 THIS=${MOD}_${VER}-${REV}_${ARCH} RUNZIP=${THIS}.zip DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip HEX=`echo $THIS | md5sum | cut -d' ' -f1` TARGET=/devel/target/$HEX # I on purpose don't pass any pointer to either GNU libiconv or # win-iconv because I don't want libxml2 API to require <iconv.h> and # use iconv_t, as I can't know which implementation of iconv various # code that third parties might build against my build of libxml2 will # use anyway. I wonder if this makes sense? # Otherwise I would do: # WIN_ICONV=`latest --arch=${ARCH} win-iconv` # and then pass a pointer to that with --with-iconv ZLIB=`latest --arch=${ARCH} zlib` usedev usewinsdk52 ( set -x lt_cv_deplibs_check_method='pass_all' \ CC='gcc' \ LDFLAGS="-Wl,--enable-auto-image-base" \ CFLAGS=-O2 \ ./configure \--disable-static \ --without-iconv \ --without-modules \ --with-zlib=/devel/dist/${ARCH}/${ZLIB} \ --prefix=$TARGET && make -j4 install && (cd $TARGET && zip /tmp/$RUNZIP bin/libxml2-2.dll && (echo EXPORTS link -dump -exports bin/libxml2-2.dll | grep -E '^ *[1-9][0-9]* *[0-9A-F][0-9A-F]* [0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F] ' | sed -e 's/^ *[^ ][^ ]* *[^ ][^ ]* ........ //' -e 's/ =.*//') >lib/libxml2.def && lib -machine:X86 -def:lib/libxml2.def -name:libxml2-2.dll -out:lib/libxml2.lib && # Leave out xml2-config, the .pc file is better zip /tmp/$DEVZIP bin/*.exe && zip -r -D /tmp/$DEVZIP include && zip /tmp/$DEVZIP lib/libxml2.{def,lib,dll.a} && zip /tmp/$DEVZIP lib/pkgconfig/libxml-2.0.pc && zip -r -D /tmp/$DEVZIP share ) ) 2>&1 | tee /devel/src/dieterv/packaging/$THIS.log (cd /devel && zip /tmp/$DEVZIP src/dieterv/packaging/$THIS.{sh,log}) && manifestify /tmp/$RUNZIP /tmp/$DEVZIP
Version data entries
58 entries across 58 versions & 4 rubygems