1 # Contributor: m0rph (m0rph.mailbox@gmail.com)
3 pkgname=mingw32-libxslt
6 pkgdesc="XML stylesheet transformation library (mingw32)"
8 url="http://xmlsoft.org/XSLT/"
10 depends=('mingw32-libxml2>=2.7.7' 'libgcrypt>=1.4.6')
11 makedepends=('mingw32-gcc' 'python2')
12 options=('!strip' '!libtool')
13 source=(ftp://xmlsoft.org/libxslt/libxslt-${pkgver}.tar.gz)
14 md5sums=('e61d0364a30146aaa3001296f853b2b9')
18 cd "${srcdir}/libxslt-${pkgver}"
21 # export CFLAGS="${CFLAGS} -mms-bitfields"
24 --prefix=/usr/i486-mingw32 \
29 --with-libxml-include-prefix=/usr/i486-mingw32/include/libxml2 \
30 --with-libxml-libs-prefix=/usr/i486-mingw32/lib
37 cd "${srcdir}/libxslt-${pkgver}"
39 make install DESTDIR="${pkgdir}"
41 rm -rf "${pkgdir}/usr/i486-mingw32"/{share/{doc,gtk-doc},man}