updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lib32-libmcrypt / PKGBUILD
blob17072db03027def5208f96059ca08c238938000b
1 # Maintainer: PyroPeter <googlemail.com@abi1789>
3 # Adapted from extra/libmcrypt, credits:
4 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 # Contributor: Jan de Groot <jgc@archlinux.org>
6 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
8 pkgname=lib32-libmcrypt
9 pkgver=2.5.8
10 pkgrel=1
11 pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms"
12 url="http://mcrypt.sourceforge.net/"
13 arch=(x86_64)
14 license=('GPL')
15 makedepends=('gcc-multilib')
16 depends=('libmcrypt' 'lib32-glibc')
17 options=('!libtool')
18 source=(http://downloads.sourceforge.net/mcrypt/libmcrypt-${pkgver}.tar.bz2)
19 md5sums=('c4f491dd411a09e9de3b8702ea6f73eb')
21 build() {
22   cd ${srcdir}/libmcrypt-${pkgver}
24   export CC="gcc -m32"
25   export CXX="g++ -m32"
26   ./configure --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/share/man
27   make
30 package() {
31   cd ${srcdir}/libmcrypt-${pkgver}
33   make DESTDIR=${pkgdir} install
34   rm -r "$pkgdir"/usr/{bin,share,include}