summaryrefslogtreecommitdiffstats
path: root/expat/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-23 00:17:14 +0100
committerLukc <lukc@upyum.com>2010-12-23 00:17:14 +0100
commitb0f126ee5452c909db872cbf7221e14b6ae26fbc (patch)
treec4c9d79bbcc2bd62735d67bc253c7df78eb0acd5 /expat/Pkgfile
parentf000de6a5cc0c2482d408a9e601e29c9dbe724b1 (diff)
downloaddevel-b0f126ee5452c909db872cbf7221e14b6ae26fbc.tar.gz
devel-b0f126ee5452c909db872cbf7221e14b6ae26fbc.tar.bz2
devel-b0f126ee5452c909db872cbf7221e14b6ae26fbc.tar.xz
devel-b0f126ee5452c909db872cbf7221e14b6ae26fbc.zip
Recette de expat ajoutée.
Diffstat (limited to 'expat/Pkgfile')
-rw-r--r--expat/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/expat/Pkgfile b/expat/Pkgfile
new file mode 100644
index 0000000..d044501
--- /dev/null
+++ b/expat/Pkgfile
@@ -0,0 +1,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
+}