1 # Maintainer: Aaron Lindsay <aaron@aaronlindsay.com>
2 pkgname=devkitppc-portlibs-expat
5 pkgdesc='An XML Parser library written in C'
7 url='http://expat.sourceforge.net/'
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')
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
21 make install || return 1