CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
lua: updated to 5.1.4
[attic/ports/opt-cross.git] / libxslt / Pkgfile
CommitLineData
67cf4ba7
JB
1# Description: XSL Transformations library
2# URL: http://xmlsoft.org/XSLT/
3# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
38b50d66 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
67cf4ba7
JB
5# Depends on: libxml2
6
7name=libxslt
8version=1.1.26
9release=1
10source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz \
11 $name-$version.cross_compilation.patch)
12
13build() {
14 cd $name-$version
15 patch -p1 -i $SRC/$name-$version.cross_compilation.patch
16
17 ./configure --build=$CHOST \
18 --host=$CTARGET \
19 --prefix=/usr \
20 --mandir=/usr/man \
21 --without-debug \
22 --without-crypto \
23 --without-python \
24 --with-libxml-src="$CLFS/usr"
25
26 make
27 make DESTDIR=$PKG install
28
29 rm -rf $PKG/usr/doc $PKG/usr/share
30
31 # move manpages
32 if [ -e $PKG/usr/man/man4/libxslt.4 ]; then
33 cd $PKG/usr/man && \
34 mkdir man3 && \
35 mv man4/libxslt.4 man3/libxslt.3
36 fi
37}