libxslt: fix source URL; Pkgfile cosmetics
This commit is contained in:
parent
cc662ca1f6
commit
c18587d2c8
@ -7,18 +7,21 @@
|
||||
name=libxslt
|
||||
version=1.1.15
|
||||
release=1
|
||||
source=(ftp://xmlsoft.org/$name-$version.tar.gz)
|
||||
source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz)
|
||||
|
||||
build () {
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr --without-python
|
||||
./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)
|
||||
(
|
||||
cd $PKG/usr/man
|
||||
mkdir man3
|
||||
mv man4/libxslt.4 man3/libxslt.3
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user