2 pkgname=lib32-$_pkgbasename
5 pkgdesc="Library of JPEG support functions (32 bit)"
7 url="http://www.ijg.org/"
9 depends=('lib32-glibc' 'lib32-libjpeg')
10 makedepends=('gcc-multilib')
12 source=(http://www.ijg.org/files/jpegsrc.v${pkgver}.tar.gz)
13 md5sums=('382ef33b339c299b56baf1296cda9785')
16 cd ${srcdir}/jpeg-${pkgver}
17 ./configure --prefix=/usr --enable-shared --disable-static \
18 --libdir=/usr/lib32 CC='gcc -m32'
23 cd ${srcdir}/jpeg-${pkgver}
25 make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man \
26 libdir=${pkgdir}/usr/lib32 install
27 rm -rf ${pkgdir}/usr/{bin,include,share,lib32/libjpeg.so}