PKGBUILDs/core/libgcrypt/PKGBUILD

51 lines
1.3 KiB
Bash
Raw Normal View History

2014-01-13 20:37:34 +00:00
# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - Note: this package needs to be fully re-checked beyond version 1.6.0
#
# - switch to git repo to pull in missing ARM assembly files and fixes
# - switch ifdef's in cipher files to actually respect --disable-neon-support
# - disable intel's RNG
# - drop docs from building in the makefile, all sorts of busted in git
2014-01-14 17:24:53 +00:00
# - disable .install so it doesn't try to install nonexistent docs
2014-01-13 20:37:34 +00:00
pkgname=libgcrypt
pkgver=1.6.0
2014-01-20 17:36:12 +00:00
pkgrel=2
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')
makedepends=('git')
options=('!emptydirs')
2014-01-14 17:24:53 +00:00
#install=$pkgname.install
source=("${pkgname}-${pkgver}::git://git.gnupg.org/libgcrypt.git#branch=LIBGCRYPT-1-6-BRANCH")
sha1sums=('SKIP')
2014-01-13 20:37:34 +00:00
build() {
cd ${pkgname}-${pkgver}
sed -i 's/HAVE_GCC_INLINE_ASM_NEON/ENABLE_NEON_SUPPORT/g' cipher/*
sed -i 's/ doc / /g' Makefile.am
autoreconf -fi
./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
}