# Maintainer: Natanael Copa pkgname=libgpg-error pkgver=1.6 pkgrel=0 pkgdesc="Support library for libgcrypt" url="http://www.gnupg.org" license="LGPL" depends="uclibc" subpackages="$pkgname-dev $pkgname-lisp" 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 check for cpp..." patch configure < ../nocxx.patch || return 1 ./configure --prefix=/usr \ --disable-nls make || return 1 make -j1 DESTDIR="$pkgdir" install } lisp() { mkdir -p "$subpkgdir"/usr/ mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/ } md5sums="f3e9870e213518b407a959f8d29cd554 libgpg-error-1.6.tar.bz2 28513788ba4d556ccd538867dc6205ab nocxx.patch"