summaryrefslogtreecommitdiffstats
path: root/abs/core/nettle/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-09-12 19:18:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-09-12 19:18:55 (GMT)
commit4cdf462b8f6f36bb076539f79d9d5ccd4cf0a1f9 (patch)
tree75439b3cb613652fd4b81f010e7696eed1aa7a0b /abs/core/nettle/PKGBUILD
parenta1750b3798eb34c9f03b966e1fe5a85731e8adf6 (diff)
downloadlinhes_pkgbuild-4cdf462b8f6f36bb076539f79d9d5ccd4cf0a1f9.zip
linhes_pkgbuild-4cdf462b8f6f36bb076539f79d9d5ccd4cf0a1f9.tar.gz
linhes_pkgbuild-4cdf462b8f6f36bb076539f79d9d5ccd4cf0a1f9.tar.bz2
nettle: update to 2.7.1.
Diffstat (limited to 'abs/core/nettle/PKGBUILD')
-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
}