summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libgpg-error
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 23:46:02 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 23:46:02 (GMT)
commitb1154a5aec01500c3832b8061e325292059585d4 (patch)
treeb22bf65becd5d3b3c24073bd042fdffb2629c4d5 /abs/core-testing/libgpg-error
parentf2a8249c868640483227db832870bad1501ff4f5 (diff)
downloadlinhes_pkgbuild-b1154a5aec01500c3832b8061e325292059585d4.zip
linhes_pkgbuild-b1154a5aec01500c3832b8061e325292059585d4.tar.gz
linhes_pkgbuild-b1154a5aec01500c3832b8061e325292059585d4.tar.bz2
libgpg-error:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/libgpg-error')
-rw-r--r--abs/core-testing/libgpg-error/PKGBUILD21
1 files 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 <jvinet@zeroflux.org>
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
}