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
|
2011-07-21 23:19:38 +08:00
|
|
|
pkgver=1.10
|
|
|
|
pkgrel=1
|
2011-01-15 18:08:29 +08:00
|
|
|
pkgdesc="Support library for libgcrypt (32-bit)"
|
|
|
|
arch=(x86_64)
|
|
|
|
url="http://www.gnupg.org"
|
|
|
|
license=('LGPL')
|
2012-10-31 22:53:16 +08:00
|
|
|
depends=('lib32-glibc' $_pkgbasename=$pkgver)
|
2011-01-15 18:08:29 +08:00
|
|
|
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)
|
2011-07-21 23:19:38 +08:00
|
|
|
sha1sums=('95b324359627fbcb762487ab6091afbe59823b29')
|
2011-01-15 18:08:29 +08:00
|
|
|
|
|
|
|
|
|
|
|
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}
|
|
|
|
}
|