summaryrefslogtreecommitdiffstats
path: root/expat/Pkgfile
blob: 16ba5b14a476612228aef16a4248f59c491a7d40 (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 \
		${CBUILD:+--build=${CBUILD}} \
		${CHOST:+--host=${CHOST}} \
		--prefix=/usr;
	make;
	make prefix=$PKG/usr install
}