1
0
forked from ports/opt

libxslt: adopted, updated URL

This commit is contained in:
Matt Housh 2006-10-10 03:39:52 +00:00
parent c2a9ccc91e
commit 42dfe63acf

View File

@ -1,7 +1,6 @@
# Description: XSL Transformations library
# URL: http://xmlsoft.org
# Maintainer: sten, nick dot steeves at shaw dot ca
# Packager: Daniel Mueller, daniel at danm dot de
# URL: http://xmlsoft.org/XSLT/
# Maintainer: Matt Housh, jaeger at crux dot nu
# Depends on: libxml2
name=libxslt
@ -10,18 +9,17 @@ release=1
source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--without-python
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/doc $PKG/usr/share
# move manpages
if [ -e $PKG/usr/man/man4/libxslt.4 ]; then
(
cd $PKG/usr/man
mkdir man3
mv man4/libxslt.4 man3/libxslt.3
)
fi
cd $name-$version
./configure --prefix=/usr \
--without-python
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/doc $PKG/usr/share
# move manpages
if [ -e $PKG/usr/man/man4/libxslt.4 ]
then
(cd $PKG/usr/man
mkdir man3
mv man4/libxslt.4 man3/libxslt.3)
fi
}