updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / hoard / PKGBUILD
blobdc4e30893fb99055dd74f239e2135573ce5ce76f
1 # Contributor: Vasco Costa <vasco dot costa at geekslot dot com>
2 pkgname=hoard
3 pkgver=3.7.1
4 _pkgver=371
5 pkgrel=1
6 pkgdesc="Fast scalable and memory-efficient memory allocator"
7 arch=(i686 x86_64)
8 url="http://www.hoard.org/"
9 license=('GPL')
10 depends=('gcc')
11 install=$pkgname.install
12 source=(http://www.cs.umass.edu/~emery/$pkgname/$pkgname-$pkgver/$pkgname-$_pkgver.tar.gz)
13 md5sums=('6335d1cd6eebc5fe5483bf50d73187d7')
15 build() {
16   cd $startdir/src/$pkgname-$_pkgver/src
17   if [ "$CARCH" = "x86_64" ]; then
18     make linux-gcc-x86-64 || return 1
19   else
20     make linux-gcc-x86 || return 1
21   fi
22   install -D -m755 libhoard.so $startdir/pkg/usr/lib/libhoard.so