diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-11 18:41:04 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-11 18:41:04 (GMT) |
commit | bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7 (patch) | |
tree | 1db739b5689e79de25ff05521ff1ef620478df50 /abs/core-testing/libxml2 | |
parent | 22cb9c31cde8a125c3b7d159d8b50941cb5c7714 (diff) | |
download | linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.zip linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.tar.gz linhes_pkgbuild-bcf5ec3fa5da5bbac9a1eaba782bbcea0278d9b7.tar.bz2 |
Updated various packages.
Diffstat (limited to 'abs/core-testing/libxml2')
-rw-r--r-- | abs/core-testing/libxml2/PKGBUILD | 21 | ||||
-rw-r--r-- | abs/core-testing/libxml2/largefile64.patch | 12 |
2 files changed, 23 insertions, 10 deletions
diff --git a/abs/core-testing/libxml2/PKGBUILD b/abs/core-testing/libxml2/PKGBUILD index be9b8bc..8b8cb34 100644 --- a/abs/core-testing/libxml2/PKGBUILD +++ b/abs/core-testing/libxml2/PKGBUILD @@ -1,25 +1,26 @@ -# $Id: PKGBUILD 1153 2008-05-01 14:49:04Z jgc $ +# $Id: PKGBUILD 22385 2008-12-26 16:51:09Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: John Proctor <jproctor@prium.net> pkgname=libxml2 -pkgver=2.6.32 +pkgver=2.7.2 pkgrel=1 pkgdesc="XML parsing library, version 2" arch=(i686 x86_64) license=('custom') -depends=('zlib' 'readline') -makedepends=('python>=2.5') +depends=('zlib>=1.2.3.3' 'readline>=5.2-8' 'ncurses>=5.6-7') +makedepends=('python') options=('!libtool') -source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz) url="http://www.xmlsoft.org/" -md5sums=('2621d322c16f0257e30f0ff2b13384de') +source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz + largefile64.patch) build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ${srcdir}/largefile64.patch || return 1 ./configure --prefix=/usr --with-threads --with-history || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 - install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} - install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 + make DESTDIR="${pkgdir}" install || return 1 + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 } diff --git a/abs/core-testing/libxml2/largefile64.patch b/abs/core-testing/libxml2/largefile64.patch new file mode 100644 index 0000000..29be827 --- /dev/null +++ b/abs/core-testing/libxml2/largefile64.patch @@ -0,0 +1,12 @@ +--- libxml2-2.6.32.dfsg.orig/libxml.h ++++ libxml2-2.6.32.dfsg/libxml.h +@@ -13,6 +13,9 @@ + #ifndef _LARGEFILE_SOURCE + #define _LARGEFILE_SOURCE + #endif ++#ifndef _LARGEFILE64_SOURCE ++#define _LARGEFILE64_SOURCE ++#endif + #ifndef _FILE_OFFSET_BITS + #define _FILE_OFFSET_BITS 64 + #endif |