Commit | Line | Data |
---|---|---|
67cf4ba7 JB |
1 | # Description: XSL Transformations library |
2 | # URL: http://xmlsoft.org/XSLT/ | |
3 | # Maintainer: Tilman Sauerbeck, tilman at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: libxml2 | |
6 | ||
7 | name=libxslt | |
8 | version=1.1.26 | |
9 | release=1 | |
10 | source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz \ | |
11 | $name-$version.cross_compilation.patch) | |
12 | ||
13 | build() { | |
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 | } |