# Maintainer: Natanael Copa pkgname=libgcrypt pkgver=1.4.6 pkgrel=2 pkgdesc="general purpose crypto library based on the code used in GnuPG" url="http://www.gnupg.org" arch="all" license="LGPL" depends= 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" depends_dev="libgpg-error-dev" build () { cd "$srcdir"/$pkgname-$pkgver ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \ --prefix=/usr \ --enable-padlock-support \ --disable-static make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make -j1 DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 rm -f ${pkgdir}/usr/share/info/dir } md5sums="dbf99425a4fe9217c84ce3a35d938634 libgcrypt-1.4.6.tar.bz2"