Skip to content
Snippets Groups Projects
Commit 8bb25dee authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

second patch of Rémy

parent 7a0eccc0
No related branches found
No related tags found
No related merge requests found
# Maintainer: Biru Ionut <ionut@archlinux.ro
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Mikko Seppl <t-r-a-y@mbnet.fi>
_pkgsourcename=gnutls
pkgname=lib32-$_pkgsourcename
# Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi>
_pkgbasename=gnutls
pkgname=lib32-$_pkgbasename
pkgver=2.8.6
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
url="http://www.gnu.org/software/gnutls/"
license=('GPL' 'LGPL')
pkgrel=2
pkgdesc="A library which provides a secure layer over a reliable transport layer (32-bit)"
arch=('x86_64')
groups=('lib32')
depends=('lib32-gcc' 'lib32-opencdk' 'lib32-libtasn1' 'lib32-lzo2' 'lib32-readline')
source=(http://mir.archlinux.fr/extra/os/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz)
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/gnutls/"
options=('libtool')
# uses built-in libtasn1 for the moment
depends=('gcc-libs-multilib' lib32-{readline,libgcrypt,zlib})
makedepends=('gcc-multilib')
source=(ftp://ftp.gnu.org/gnu/gnutls/${_pkgbasename}-${pkgver}.tar.bz2)
md5sums=('eb0a6d7d3cb9ac684d971c14f9f6d3ba')
build() {
cd "$srcdir"
mkdir -p "$pkgdir/opt/lib32/usr/lib"
cp -dp usr/lib/*.so* "$pkgdir/opt/lib32/usr/lib"
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 \
--with-zlib --disable-guile
make
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,include,share}
}
md5sums=('e4744a56bce54fe73d26c8833f525fcf')
sha256sums=('c853e1693f5b221a973a94387858ace24d0155d35f7f5731cbfacaa430046957')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment