summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libgcrypt/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 23:07:58 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 23:07:58 (GMT)
commit14caab719e5ec2e1360288edabd0240baf866cbe (patch)
tree0bdaba22856540b84fa141b1ec22b67b6a978fe4 /abs/core-testing/libgcrypt/PKGBUILD
parenta7d5a436f5cb1f6aa09ae8abb01a2b766fcbe912 (diff)
downloadlinhes_pkgbuild-14caab719e5ec2e1360288edabd0240baf866cbe.zip
linhes_pkgbuild-14caab719e5ec2e1360288edabd0240baf866cbe.tar.gz
linhes_pkgbuild-14caab719e5ec2e1360288edabd0240baf866cbe.tar.bz2
libgcrypt:Removed for LinHES 7.
Diffstat (limited to 'abs/core-testing/libgcrypt/PKGBUILD')
-rw-r--r--abs/core-testing/libgcrypt/PKGBUILD31
1 files changed, 20 insertions, 11 deletions
diff --git a/abs/core-testing/libgcrypt/PKGBUILD b/abs/core-testing/libgcrypt/PKGBUILD
index 5498563..c262700 100644
--- a/abs/core-testing/libgcrypt/PKGBUILD
+++ b/abs/core-testing/libgcrypt/PKGBUILD
@@ -1,24 +1,33 @@
-# $Id: PKGBUILD 32861 2009-04-01 19:16:30Z andyrtr $
+# $Id: PKGBUILD 85547 2010-07-15 21:16:57Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libgcrypt
-pkgver=1.4.4
+pkgver=1.4.6
pkgrel=1
pkgdesc="a general purpose crypto library based on the code used"
arch=(i686 x86_64)
url="http://www.gnupg.org"
license=('LGPL')
-groups=('base')
-depends=('libgpg-error>=1.6' 'texinfo')
+depends=('libgpg-error>=1.7')
options=(!libtool)
-source=(#ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('34105aa927e23c217741966496b97e67')
+source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2
+)
+md5sums=('dbf99425a4fe9217c84ce3a35d938634')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --disable-padlock-support --disable-static
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- rm -f ${pkgdir}/usr/share/info/dir
+ # keep static library for , needed for cryptsetup
+ ./configure --prefix=/usr --disable-padlock-support
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ # Move dynamic libraries to /lib
+ install -d -m755 "${pkgdir}"/lib/ || return 1
+ mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/ || return 1
+ ln -sf /lib/libgcrypt.so "${pkgdir}"/usr/lib/libgcrypt.so || return 1
}