updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / lib32-libjpeg7 / PKGBUILD
blob3a0386c107081f9b1a7882fa90747a2fe82ab675
1 _pkgbasename=libjpeg7
2 pkgname=lib32-$_pkgbasename
3 pkgver=7
4 pkgrel=2
5 pkgdesc="Library of JPEG support functions (32 bit)"
6 arch=('x86_64')
7 url="http://www.ijg.org/"
8 license=('GPL')
9 depends=('lib32-glibc' 'lib32-libjpeg')
10 makedepends=('gcc-multilib')
11 options=('!libtool')
12 source=(http://www.ijg.org/files/jpegsrc.v${pkgver}.tar.gz)
13 md5sums=('382ef33b339c299b56baf1296cda9785')
15 build() {
16   cd ${srcdir}/jpeg-${pkgver}
17   ./configure --prefix=/usr --enable-shared --disable-static \
18                           --libdir=/usr/lib32 CC='gcc -m32'
19   make
22 package() {
23   cd ${srcdir}/jpeg-${pkgver}
24   
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}