-
-
Save alfredopalhares/6340824 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 <[email protected]> | |
# Contributor: Geoffroy Carrier <[email protected]> | |
# Contributor: Roman Kyrylych <[email protected]> | |
_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') | |
export CC="gcc -m32" | |
export CXX="g++ -m32" | |
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" | |
build() { | |
cd ${pkgname}-${pkgver} | |
[[ "${CARCH}" = "x86_64" ]] && SSE2="--disable-sse2" | |
./configure --prefix=/usr --host=i686-unknown-linux-gnu --prefix=/usr --libdir=/usr/lib32 \ | |
--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