diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-09 11:07:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-13 08:43:44 +0000 |
commit | 39ce0e3467066d3f7fd722e00b014aa45c49b81d (patch) | |
tree | bed8348eb483e3b787b4f70944a50ae6ecfd0e4c | |
parent | 8c426cf0b4bbbdd05802fef61ff8483aeb01a4f9 (diff) | |
download | aports-39ce0e3467066d3f7fd722e00b014aa45c49b81d.tar.bz2 aports-39ce0e3467066d3f7fd722e00b014aa45c49b81d.tar.xz |
extra/libgcrypt: enable padlock support. fix depends for -dev
-rw-r--r-- | extra/libgcrypt/APKBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/extra/libgcrypt/APKBUILD b/extra/libgcrypt/APKBUILD index c858e68848..efe95c1abf 100644 --- a/extra/libgcrypt/APKBUILD +++ b/extra/libgcrypt/APKBUILD @@ -1,29 +1,27 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libgcrypt pkgver=1.4.4 -pkgrel=0 +pkgrel=1 pkgdesc="general purpose crypto library based on the code used in GnuPG" url="http://www.gnupg.org" license="LGPL" -depends="libgpg-error" +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 - nocxx.patch" +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 - msg "Punting useless cpp checks..." - patch configure < "$srcdir"/nocxx.patch || return 1 - - ./configure --prefix=/usr \ - --disable-padlock-support \ + ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \ + --prefix=/usr \ + --enable-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" +md5sums="34105aa927e23c217741966496b97e67 libgcrypt-1.4.4.tar.bz2" |