From b1154a5aec01500c3832b8061e325292059585d4 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Sat, 4 Sep 2010 16:46:02 -0700 Subject: libgpg-error:Bumped/Updated for LinHES 7. --- abs/core-testing/libgpg-error/PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/abs/core-testing/libgpg-error/PKGBUILD b/abs/core-testing/libgpg-error/PKGBUILD index 834b39c..b7083bb 100644 --- a/abs/core-testing/libgpg-error/PKGBUILD +++ b/abs/core-testing/libgpg-error/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 80074 2010-05-10 21:13:12Z thomas $ # Maintainer: judd pkgname=libgpg-error -pkgver=1.6 -pkgrel=10 +pkgver=1.7 +pkgrel=3 pkgdesc="Support library for libgcrypt" arch=(i686 x86_64) url="http://www.gnupg.org" license=('LGPL') -groups=('base') -depends=('glibc') +depends=('glibc' 'sh') options=(!libtool) source=(#ftp://ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2 ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2) -md5sums=('f3e9870e213518b407a959f8d29cd554') +md5sums=('62c0d09d1e76c5b6da8fff92314c4665') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}"/${pkgname}-${pkgver} + # keep static lib for crypsetup ./configure --prefix=/usr make || return 1 - make DESTDIR=${startdir}/pkg install + make DESTDIR="${pkgdir}/" install || return 1 + + # Move dynamic libraries to /lib + install -d -m755 "${pkgdir}"/lib/ || return 1 + mv "${pkgdir}"/usr/lib/libgpg-error.so* "${pkgdir}"/lib/ || return 1 + ln -sf /lib/libgpg-error.so "${pkgdir}"/usr/lib/libgpg-error.so || return 1 } -- cgit v0.12