summaryrefslogtreecommitdiffstats
path: root/expat/Pkgfile
blob: d044501a359f4430c95db7fcc1f8e8b9fd6159b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
description="A fast, non-validating, stream-oriented XML parsing library."
packager="Juergen Daubert <jue AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://expat.sourceforge.net/"
depends=()

name=expat
version=2.0.1
release=2
source=(
	http://download.sourceforge.net/$name/$name-$version.tar.gz
	expat-CVE-2009-3560.patch
	expat-CVE-2009-3720.patch
)
build () 
{ 
	cd $name-$version;
	patch -p0 -d lib -i $SRC/expat-CVE-2009-3560.patch;
	patch -p0 -d lib -i $SRC/expat-CVE-2009-3720.patch;
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=/usr;
	make;
	make prefix=$PKG/usr install
}