updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / devkitppc-portlibs-expat / PKGBUILD
bloba7ef9cf7e97af19f014d3d934bb9919bfd0e0e80
1 # Maintainer: Aaron Lindsay <aaron@aaronlindsay.com>
2 pkgname=devkitppc-portlibs-expat
3 pkgver=2.0.1
4 pkgrel=2
5 pkgdesc='An XML Parser library written in C'
6 arch=('i686' 'x86_64')
7 url='http://expat.sourceforge.net/'
8 license=('custom')
9 options=(!strip libtool)
10 depends=('devkitppc' 'devkitppc-portlibs-zlib')
11 source=("http://downloads.sourceforge.net/sourceforge/devkitpro/expat-${pkgver}.tar.bz2")
12 md5sums=('f9a3a81c6892cf76b24b57dd524f2544')
14 build() {
15         source /etc/profile.d/devkitppc.sh
16         cd "${srcdir}/expat-${pkgver}"
17         export CFLAGS="-g -O2 -L${DEVKITPRO}/portlibs/ppc/lib -I${DEVKITPRO}/portlibs/ppc/include"
18         export DEVKITPRO="${pkgdir}/opt/devkitpro"
19         ./configure --prefix="${DEVKITPRO}/portlibs/ppc" --host=powerpc-eabi --disable-shared --enable-static
20         make || return 1
21         make install || return 1