summaryrefslogtreecommitdiff
path: root/multilib/lib32-libcups
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/lib32-libcups')
-rw-r--r--multilib/lib32-libcups/PKGBUILD42
-rw-r--r--multilib/lib32-libcups/fix-libusb-configure.patch12
2 files changed, 0 insertions, 54 deletions
diff --git a/multilib/lib32-libcups/PKGBUILD b/multilib/lib32-libcups/PKGBUILD
deleted file mode 100644
index f7cfc6c50..000000000
--- a/multilib/lib32-libcups/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: PKGBUILD 74676 2012-08-01 19:35:45Z bluewind $
-# Maintainer: Andreas Radke <andyrtr@archlinux.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-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=('87ade07e3d1efd03c9c3add949cf9c00'
- '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 \
- --disable-avahi \
- --with-optim="$CFLAGS" --libdir=/usr/lib32
- make
-}
-
-package() {
- cd ${srcdir}/cups-${pkgver}
- make BUILDROOT=${pkgdir} install-libs
-}
-
diff --git a/multilib/lib32-libcups/fix-libusb-configure.patch b/multilib/lib32-libcups/fix-libusb-configure.patch
deleted file mode 100644
index 02476c0b8..000000000
--- a/multilib/lib32-libcups/fix-libusb-configure.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur cups-1.5_2012-05-20_223115.3/config-scripts/cups-common.m4 cups-1.5.3/config-scripts/cups-common.m4
---- cups-1.5_2012-05-20_223115.3/config-scripts/cups-common.m4 2012-05-20 22:31:15.702071734 +0200
-+++ cups-1.5.3/config-scripts/cups-common.m4 2012-05-20 22:31:29.395622693 +0200
-@@ -216,7 +216,7 @@
- AC_SUBST(LIBUSB)
-
- if test "x$PKGCONFIG" != x; then
-- if test x$enable_libusb = xyes -o $uname != Darwin; then
-+ if test x$enable_libusb = xyes -a $uname != Darwin; then
- AC_MSG_CHECKING(for libusb-1.0)
- if $PKGCONFIG --exists libusb-1.0; then
- AC_MSG_RESULT(yes)