mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
832 B
Bash
26 lines
832 B
Bash
|
# $Id: PKGBUILD 26966 2009-02-14 23:57:37Z jgc $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
# Contributor: John Proctor <jproctor@prium.net>
|
||
|
|
||
|
pkgname=libxml2
|
||
|
pkgver=2.7.3
|
||
|
pkgrel=1
|
||
|
pkgdesc="XML parsing library, version 2"
|
||
|
arch=(arm)
|
||
|
license=('custom')
|
||
|
depends=('zlib>=1.2.3.3' 'readline>=5.2.013' 'ncurses>=5.7')
|
||
|
makedepends=('python')
|
||
|
options=('!libtool')
|
||
|
url="http://www.xmlsoft.org/"
|
||
|
source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||
|
md5sums=('8f4fda3969237c2a33bdb1583b5d06b2')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr --with-threads --with-history || return 1
|
||
|
make || 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
|
||
|
}
|