Created
August 25, 2013 07:43
-
-
Save anonymous/6332519 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $Id$ | |
# Maintainer: | |
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> | |
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org> | |
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> | |
_pkgbase=xerces-c | |
pkgname=lib32-${_pkgbase} | |
pkgver=3.1.1 | |
pkgrel=4 | |
pkgdesc="A validating XML parser written in a portable subset of C++" | |
arch=('x86_64') | |
url="http://xerces.apache.org/xerces-c/" | |
license=('APACHE') | |
depends=('lib32-gcc-libs' 'curl') | |
options=('!libtool') | |
groups=('lib32') | |
source=("http://apache.osuosl.org/xerces/c/3/sources/${pkgname}-${pkgver}.tar.gz") | |
md5sums=('6a8ec45d83c8cfb1584c5a5345cb51ae') | |
build() { | |
cd ${pkgname}-${pkgver} | |
[[ "${CARCH}" = "i686" ]] && SSE2="--disable-sse2" | |
./configure --prefix=/usr \ | |
--sysconfdir=/etc ${SSE2} | |
make | |
} | |
package() { | |
cd ${pkgname}-${pkgver} | |
make DESTDIR="${pkgdir}/" install | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment