# Description: XSL Transformations library # URL: http://xmlsoft.org/XSLT/ # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu # Depends on: libxml2-32 libxslt name=libxslt-32 version=1.1.36 release=1 source=(https://download.gnome.org/sources/libxslt/${version:0:3}/libxslt-$version.tar.xz) build() { cd libxslt-$version sed -i -e 's/libgcrypt-config/&-32/g' configure ./configure \ --prefix=/usr \ --libdir=/usr/lib32 \ --without-python sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make make DESTDIR=$PKG install rm -r \ $PKG/usr/share/{aclocal,doc} \ $PKG/usr/{bin,include,share/man} }