blob: c858e68848075b0613f4571e32042ea538f284fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgcrypt
pkgver=1.4.4
pkgrel=0
pkgdesc="general purpose crypto library based on the code used in GnuPG"
url="http://www.gnupg.org"
license="LGPL"
depends="libgpg-error"
makedepends="libgpg-error-dev texinfo"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
nocxx.patch"
build () {
cd "$srcdir"/$pkgname-$pkgver
msg "Punting useless cpp checks..."
patch configure < "$srcdir"/nocxx.patch || return 1
./configure --prefix=/usr \
--disable-padlock-support \
--disable-static
make || return 1
make -j1 DESTDIR="$pkgdir" install || return 1
rm -f ${pkgdir}/usr/share/info/dir
}
md5sums="34105aa927e23c217741966496b97e67 libgcrypt-1.4.4.tar.bz2
28513788ba4d556ccd538867dc6205ab nocxx.patch"
|