PKGBUILDs/extra/mhash/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
704 B
Bash

# $Id: PKGBUILD 27644 2009-02-24 05:28:30Z eric $
# Maintainer: gregor <gregor@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=mhash
pkgver=0.9.9.9
pkgrel=1
pkgdesc="A thread-safe hash library which provides a uniform interface to hash algorithms (MD5, SHA-1, HAVAL, etc"
arch=('i686' 'x86_64')
url="http://mhash.sourceforge.net/"
license=('LGPL')
depends=('glibc')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/mhash/$pkgname-$pkgver.tar.bz2)
md5sums=('f91c74f9ccab2b574a98be5bc31eb280')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --enable-static || return 1
make || return 1
make prefix=$pkgdir/usr install || return 1
}