1
0
forked from ports/opt

libxslt: picked up orphand port

This commit is contained in:
Danny Rawlins 2012-06-23 20:26:24 +10:00
parent f2784071fa
commit 9a34ea97c6

View File

@ -1,6 +1,7 @@
# Description: XSL Transformations library # Description: XSL Transformations library.
# URL: http://xmlsoft.org/XSLT/ # URL: http://xmlsoft.org/XSLT/
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: libxml2 # Depends on: libxml2
name=libxslt name=libxslt
@ -10,16 +11,20 @@ source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz)
build() { build() {
cd $name-$version cd $name-$version
./configure --prefix=/usr --mandir=/usr/man \
./configure \
--prefix=/usr \
--mandir=/usr/man \
--without-python --without-python
make make
make DESTDIR=$PKG install make DESTDIR=$PKG install
rm -rf $PKG/usr/doc $PKG/usr/share rm -rf $PKG/usr/doc $PKG/usr/share
# move manpages # move manpages
if [ -e $PKG/usr/man/man4/libxslt.4 ] if [ -e $PKG/usr/man/man4/libxslt.4 ]; then
then
(cd $PKG/usr/man (cd $PKG/usr/man
mkdir man3 mkdir man3
mv man4/libxslt.4 man3/libxslt.3) mv man4/libxslt.4 man3/libxslt.3)
fi fi
} }