diff options
Diffstat (limited to 'multilib/lib32-libldap/PKGBUILD')
-rw-r--r-- | multilib/lib32-libldap/PKGBUILD | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/multilib/lib32-libldap/PKGBUILD b/multilib/lib32-libldap/PKGBUILD deleted file mode 100644 index 055103b3d..000000000 --- a/multilib/lib32-libldap/PKGBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# $Id: PKGBUILD 70683 2012-05-14 16:27:03Z bluewind $ -# Maintainer: -# Contributor: Judd Vinet <jvinet@zeroflux.org> - -_pkgbasename=libldap -pkgname=lib32-$_pkgbasename -pkgver=2.4.31 -pkgrel=1 -pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries (32-bit)" -arch=('x86_64') -license=('custom') -url="http://www.openldap.org/" -depends=('lib32-openssl' $_pkgbasename) -makedepends=(gcc-multilib) -options=('!libtool') -source=("ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-${pkgver}.tgz" - 'ntlm.patch') -md5sums=('804c6cb5698db30b75ad0ff1c25baefd' - '4258ddbef923d1f29f2843bc050f8c56') - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cd ${srcdir}/openldap-${pkgver} - - patch -Np1 -i ${srcdir}/ntlm.patch - - ./configure --prefix=/usr \ - --libexecdir=/usr/sbin \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var/lib/openldap \ - --enable-crypt --enable-dynamic \ - --with-threads --disable-wrappers \ - --disable-spasswd --without-cyrus-sasl \ - --disable-bdb --disable-hdb --libdir=/usr/lib32 - - cd include - make - - cd ../libraries - make depend - make - -} - -package() { - cd ${srcdir}/openldap-${pkgver} - - cd include - make DESTDIR=${pkgdir} install - - cd ../libraries - make DESTDIR=${pkgdir} install - - rm -rf "${pkgdir}"/usr/{include,share,bin} "$pkgdir/etc" - mkdir -p "$pkgdir/usr/share/licenses" - ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" -} |