diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-09-05 13:37:26 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-09-05 13:37:26 +0000 |
commit | f651180e6b1ac9508ec0d1d9b94972de776020a9 (patch) | |
tree | 2c1f8d3bf28b5a52b186cfb6a67b6d092ddf21fc /testing/nettle | |
parent | 6dee0a203a8290427ca77705bc1cae90381529b2 (diff) |
Mon Sep 5 13:37:24 UTC 2011
Diffstat (limited to 'testing/nettle')
-rw-r--r-- | testing/nettle/PKGBUILD | 36 | ||||
-rw-r--r-- | testing/nettle/nettle.install | 20 |
2 files changed, 0 insertions, 56 deletions
diff --git a/testing/nettle/PKGBUILD b/testing/nettle/PKGBUILD deleted file mode 100644 index e079a16f8..000000000 --- a/testing/nettle/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# $Id: PKGBUILD 134726 2011-08-07 17:54:31Z andyrtr $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> -# Contributor: bender02 at gmx dot com - -pkgname=nettle -pkgver=2.2 -pkgrel=1 -pkgdesc="A low-level cryptographic library" -arch=('i686' 'x86_64') -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=('9a9c6102eb9909019f8a13b67578cdfe') - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --libdir=/usr/lib \ - --enable-shared \ - --disable-static # <-- seems not working now - make -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - make -k check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - - # remove static libs - rm -f ${pkgdir}/usr/lib/{libhogweed,libnettle}.a -} diff --git a/testing/nettle/nettle.install b/testing/nettle/nettle.install deleted file mode 100644 index 3d19b5f19..000000000 --- a/testing/nettle/nettle.install +++ /dev/null @@ -1,20 +0,0 @@ -infodir=/usr/share/info -filelist=(nettle.info) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done -} |