Commit | Line | Data |
---|---|---|
9aa43069 VM |
1 | # Description: XSL Transformations library. |
2 | # URL: http://xmlsoft.org/XSLT/ | |
3 | # Maintainer: Danny Rawlins, crux at romster dot me | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Packager: Tilman Sauerbeck, tilman at crux dot nu | |
6 | # Depends on: libxml2 zlib xz | |
7 | ||
8 | name=libxslt | |
063f7e70 VM |
9 | version=1.1.29 |
10 | release=1 | |
11 | source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz) | |
9aa43069 VM |
12 | |
13 | build() { | |
14 | cd $name-$version | |
15 | ||
9aa43069 VM |
16 | ./configure --prefix=/usr \ |
17 | --without-python \ | |
18 | --without-crypto \ | |
19 | --build=aarch64-unknown-linux-gnueabi | |
063f7e70 VM |
20 | |
21 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool | |
9aa43069 VM |
22 | |
23 | make | |
24 | make DESTDIR=$PKG install | |
25 | ||
26 | rm -r $PKG/usr/share/doc | |
27 | } |