32 lines
631 B
Plaintext
32 lines
631 B
Plaintext
# 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.29
|
|
release=1
|
|
source=(http://xmlsoft.org/sources/libxslt-$version.tar.gz)
|
|
|
|
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}
|
|
|
|
rmdir $PKG/usr/share
|
|
}
|