1 # Maintainer: schalaalexiazeal@gmail.com
3 pkgname=mingw32-libxml2-static
7 pkgdesc="libxml2 (mingw32)"
8 depends=(mingw32-gettext-static mingw32-zlib-static)
9 makedepends=(mingw32-gcc)
11 url="http://www.xmlsoft.org/"
12 source=(ftp://xmlsoft.org/libxml/libxml2-${pkgver}.tar.gz)
13 md5sums=('8127a65e8c3b08856093099b52599c86')
14 options=(!strip !buildflags)
18 cd $srcdir/libxml2-$pkgver
20 ./configure --prefix=/usr/i486-mingw32 --host=i486-mingw32 --disable-nls --without-python --enable-static --disable-shared --with-threads --with-thread-alloc || return 1
21 #--with-minimum --without-legacy
24 make DESTDIR=$pkgdir install || return 1
27 rm -rf usr/i486-mingw32/{share/{doc,gtk-doc},man}
28 rm -f usr/i486-mingw32/lib/charset.alias