2014-01-13 20:37:34 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2014-01-31 16:48:08 +00:00
|
|
|
# - disable DRNG and NEON support
|
|
|
|
# - patch to fix --disable-neon-support, should be fixed in 1.6.2
|
2014-01-13 20:37:34 +00:00
|
|
|
|
|
|
|
pkgname=libgcrypt
|
2014-01-31 16:48:08 +00:00
|
|
|
pkgver=1.6.1
|
|
|
|
pkgrel=1
|
2014-01-13 20:37:34 +00:00
|
|
|
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="http://www.gnupg.org"
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('libgpg-error>=1.10-2')
|
|
|
|
options=('!emptydirs')
|
2014-01-31 16:48:08 +00:00
|
|
|
install=$pkgname.install
|
|
|
|
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
|
|
|
|
0001-cipher-Take-care-of-ENABLE_NEON_SUPPORT.patch)
|
|
|
|
sha1sums=('f03d9b63ac3b17a6972fc11150d136925b702f02'
|
|
|
|
'6b7e9a735e27a0cf7331c3cb6b518ef0c6d5f345')
|
2014-01-13 20:37:34 +00:00
|
|
|
|
2014-01-31 16:48:08 +00:00
|
|
|
prepare() {
|
2014-01-13 20:37:34 +00:00
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
|
2014-01-31 16:48:08 +00:00
|
|
|
patch -Np1 -i ../0001-cipher-Take-care-of-ENABLE_NEON_SUPPORT.patch
|
|
|
|
}
|
2014-01-13 20:37:34 +00:00
|
|
|
|
2014-01-31 16:48:08 +00:00
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
2014-01-13 20:37:34 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--disable-padlock-support \
|
|
|
|
--disable-drng-support \
|
|
|
|
--disable-neon-support
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|