summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/nettle/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/abs/core/nettle/PKGBUILD b/abs/core/nettle/PKGBUILD
index 2e9f8c0..a017c92 100644
--- a/abs/core/nettle/PKGBUILD
+++ b/abs/core/nettle/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 163476 2012-07-12 19:05:48Z andyrtr $
+# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: bender02 at gmx dot com
pkgname=nettle
-pkgver=2.5
+pkgver=2.7.1
pkgrel=1
pkgdesc="A low-level cryptographic library"
arch=('i686' 'x86_64')
@@ -11,14 +11,15 @@ url="http://www.lysator.liu.se/~nisse/nettle/"
license=('GPL2')
install=$pkgname.install
depends=('gmp')
-source=(ftp://ftp.lysator.liu.se/pub/security/lsh/$pkgname-$pkgver.tar.gz)
-md5sums=('d66882e6ad31a9f651b73d7a1a93bd4c')
+source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
+md5sums=('003d5147911317931dd453520eb234a5'
+ 'SKIP')
+
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --libdir=/usr/lib \
- --enable-shared \
- --disable-static # <-- seems not working now
+ --enable-shared
make
}
@@ -31,6 +32,6 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
- # remove static libs
+ # remove static libs #--disable-static - build would break (since nettle 2.6) - and had no effect before
rm -f ${pkgdir}/usr/lib/{libhogweed,libnettle}.a
}