| 1 | # Description: XML library version 2 |
| 2 | # URL: http://xmlsoft.org/ |
| 3 | # Packager: Daniel Mueller, daniel at danm dot de |
| 4 | # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de |
| 5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 6 | # Depends on: zlib |
| 7 | |
| 8 | name=libxml2 |
| 9 | version=2.7.7 |
| 10 | release=1 |
| 11 | source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz) |
| 12 | |
| 13 | build () { |
| 14 | cd $name-$version |
| 15 | |
| 16 | ./configure --build=$CHOST \ |
| 17 | --host=$CTARGET \ |
| 18 | --prefix=/usr \ |
| 19 | --mandir=/usr/man \ |
| 20 | --without-python |
| 21 | make |
| 22 | make DESTDIR=$PKG install |
| 23 | |
| 24 | rm -r $PKG/usr/share/{doc,gtk-doc} |
| 25 | } |