diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-07-25 14:36:24 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-07-25 14:36:24 +0000 |
commit | c52a1a6eb4ad278a7b6d9eeeb9c7c88f73ca8d8c (patch) | |
tree | 6ea332ea2bc8d6dfbfeba417c0e0d40a4608daaa /testing/nettle | |
parent | 43983783a3e8bf61896eb93a2858a14bbaf3a53b (diff) |
Mon Jul 25 14:36:20 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 085e98f5d..000000000 --- a/testing/nettle/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# $Id: PKGBUILD 130897 2011-07-08 16:53:06Z andyrtr $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> -# Contributor: bender02 at gmx dot com - -pkgname=nettle -pkgver=2.1 -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=('2bfaf16234a5d8deb96cd23f53a682bb') - -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 -} |