lib32/lib32-libgpg-error/PKGBUILD

38 lines
1.0 KiB
Bash
Raw Normal View History

2011-01-15 18:08:29 +08:00
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=libgpg-error
pkgname=lib32-$_pkgbasename
pkgver=1.7
pkgrel=1
pkgdesc="Support library for libgcrypt (32-bit)"
arch=(x86_64)
url="http://www.gnupg.org"
license=('LGPL')
depends=('lib32-glibc' $_pkgbasename)
makedepends=(gcc-multilib)
options=(!libtool)
source=(ftp://ftp.gnupg.org/gcrypt/libgpg-error/${_pkgbasename}-${pkgver}.tar.bz2)
#ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2)
md5sums=('62c0d09d1e76c5b6da8fff92314c4665')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}"/${_pkgbasename}-${pkgver}
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd "${srcdir}"/${_pkgbasename}-${pkgver}
make DESTDIR="${pkgdir}/" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
}