lib32/lib32-libcups/PKGBUILD
Samir 850fefed49 added $_pkgbasename=$pkgver to most packages
This has been scripted, some might have been missed some PKGBUILDS
might be broken, so please chock when building.
2012-10-31 14:53:16 +00:00

50 lines
1.3 KiB
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=libcups
pkgname=lib32-$_pkgbasename
pkgver=1.6.1
pkgrel=1
pkgdesc="The CUPS Printing System - client libraries (32-bit)"
arch=('x86_64')
license=('GPL')
url="http://www.cups.org/"
depends=(lib32-glibc $_pkgbasename=$pkgver)
makedepends=(gcc-multilib cups lib32-libusb)
source=(http://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2)
md5sums=('87ade07e3d1efd03c9c3add949cf9c00')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd ${srcdir}/cups-${pkgver}
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 \
--with-optim="$CFLAGS" \
--disable-avahi \
--libdir=/usr/lib32
make
}
package() {
cd ${srcdir}/cups-${pkgver}
make BUILDROOT=${pkgdir} install-libs
}