| 1 | # Description: A fast, non-validating, stream-oriented XML parsing library |
| 2 | # URL: http://expat.sourceforge.net/ |
| 3 | # Maintainer: Juergen Daubert, jue at crux dot nu |
| 4 | # Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org |
| 5 | # Depends on: |
| 6 | |
| 7 | name=expat |
| 8 | version=2.0.1 |
| 9 | release=2 |
| 10 | source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz \ |
| 11 | expat-CVE-2009-3560.patch expat-CVE-2009-3720.patch) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | patch -p0 -d lib -i $SRC/expat-CVE-2009-3560.patch |
| 16 | patch -p0 -d lib -i $SRC/expat-CVE-2009-3720.patch |
| 17 | ./configure --build=$CHOST \ |
| 18 | --host=$CTARGET \ |
| 19 | --prefix=/usr |
| 20 | make |
| 21 | make prefix=$PKG/usr install |
| 22 | } |