[arch-commits] Commit in lib32-libgcrypt/repos (2 files)
Laurent Carlier
lcarlier at nymeria.archlinux.org
Tue Jan 14 08:12:50 UTC 2014
Date: Tuesday, January 14, 2014 @ 09:12:50
Author: lcarlier
Revision: 103964
archrelease: copy trunk to multilib-staging-x86_64
Added:
lib32-libgcrypt/repos/multilib-staging-x86_64/
lib32-libgcrypt/repos/multilib-staging-x86_64/PKGBUILD
(from rev 103963, lib32-libgcrypt/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: lib32-libgcrypt/repos/multilib-staging-x86_64/PKGBUILD (from rev 103963, lib32-libgcrypt/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2014-01-14 08:12:50 UTC (rev 103964)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+_pkgbasename=libgcrypt
+pkgname=lib32-$_pkgbasename
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="General purpose cryptographic library based on the code from GnuPG (32-bit)"
+arch=(x86_64)
+url="http://www.gnupg.org"
+license=('LGPL')
+depends=('lib32-libgpg-error>=1.10-2' $_pkgbasename)
+makedepends=(gcc-multilib libtool-multilib)
+source=(ftp://ftp.gnupg.org/gcrypt/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2)
+sha1sums=('43283c0b41c41e3d3bc13c2d8f937dfe2aaa1a77')
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd ${_pkgbasename}-${pkgver}
+
+ # Use 32-bit assembler
+ sed 's:path="amd64":path="i586 i386":' -i mpi/config.links
+
+ ./configure --prefix=/usr --disable-static --disable-padlock-support \
+ --libdir=/usr/lib32 --enable-shared
+ make
+}
+
+package() {
+ cd ${_pkgbasename}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+ rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
+}
More information about the arch-commits
mailing list