blob: 356b3274aa654fffd2cfd11c297e26de9c1eda7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $Id: PKGBUILD 70966 2012-05-20 20:35:00Z bluewind $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
_pkgbasename=libcups
pkgname=lib32-$_pkgbasename
pkgver=1.5.3
pkgrel=1
pkgdesc="The CUPS Printing System - client libraries (32-bit)"
arch=('x86_64')
license=('GPL')
url="http://www.cups.org/"
depends=(lib32-krb5 lib32-libtiff lib32-libpng $_pkgbasename)
makedepends=(gcc-multilib)
source=(ftp://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2 fix-libusb-configure.patch)
md5sums=('e1ad15257aa6f162414ea3beae0c5df8'
'9cf39a66f21d1208a585367b25cf117b')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd ${srcdir}/cups-${pkgver}
patch -p1 -i "$srcdir/fix-libusb-configure.patch"
aclocal -I config-scripts
autoconf -I config-scripts
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-ldap --enable-raw-printing --disable-gssapi --disable-dbus \
--enable-ssl=no --disable-gnutls --enable-threads --enable-libusb=no \
--with-optim="$CFLAGS" --libdir=/usr/lib32
make
}
package() {
cd ${srcdir}/cups-${pkgver}
make BUILDROOT=${pkgdir} install-libs
}
|