summaryrefslogtreecommitdiff
path: root/multilib/lib32-nettle/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
commitbc0657f7159d0b01373ecb59afc426b98a172b1e (patch)
tree7fba1eb77eb1a2965fe5f3ed72cc77aa63d14f40 /multilib/lib32-nettle/PKGBUILD
parentfd115d7057eb8243df6edfaf1ed440d6f3e70692 (diff)
Thu Dec 1 14:10:27 UTC 2011
Diffstat (limited to 'multilib/lib32-nettle/PKGBUILD')
-rw-r--r--multilib/lib32-nettle/PKGBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/multilib/lib32-nettle/PKGBUILD b/multilib/lib32-nettle/PKGBUILD
deleted file mode 100644
index 6b226d319..000000000
--- a/multilib/lib32-nettle/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id: PKGBUILD 58144 2011-11-06 22:21:54Z bluewind $
-# Maintainer: Florian Pritz <flo@xssn.at>
-# Contributor: Andreas Radke <andyrtr@archlinux.org>
-# Contributor: bender02 at gmx dot com
-
-_pkgbasename=nettle
-pkgname=lib32-$_pkgbasename
-pkgver=2.4
-pkgrel=1
-pkgdesc="A low-level cryptographic library (32-bit)"
-arch=('i686' 'x86_64')
-url="http://www.lysator.liu.se/~nisse/nettle/"
-license=('GPL2')
-depends=('lib32-gmp' $_pkgbasename)
-makedepends=(gcc-multilib)
-source=(ftp://ftp.lysator.liu.se/pub/security/lsh/$_pkgbasename-$pkgver.tar.gz)
-md5sums=(''450be8c4886d46c09f49f568ad6fa013'')
-
-build() {
- cd "$srcdir/$_pkgbasename-$pkgver"
-
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- ./configure --prefix=/usr --libdir=/usr/lib32 \
- --enable-shared \
- --disable-static # <-- seems not working now
- make
-}
-
-check() {
- cd "$srcdir/$_pkgbasename-$pkgver"
- make -k check
-}
-
-package() {
- cd "$srcdir/$_pkgbasename-$pkgver"
- make DESTDIR="$pkgdir/" install
-
- find $pkgdir
-
- # remove static libs
- rm -f ${pkgdir}/usr/lib32/{libhogweed,libnettle}.a
-
- rm -rf "${pkgdir}"/usr/{include,share,bin}
-}