mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
# $Id$
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable DRNG and NEON support
|
|
# - patch to fix --disable-neon-support, should be fixed in 1.6.2
|
|
|
|
pkgname=libgcrypt
|
|
pkgver=1.6.1
|
|
pkgrel=1
|
|
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')
|
|
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')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
patch -Np1 -i ../0001-cipher-Take-care-of-ENABLE_NEON_SUPPORT.patch
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./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
|
|
}
|