summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/talloc/PKGBUILD
blob: 903de2d8a40d228ab5a80ece10cd909fc41bb951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 63108 2010-01-14 18:54:03Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=talloc
pkgver=2.0.1
pkgrel=1
pkgdesc="talloc is a hierarchical pool based memory allocator with destructors"
arch=(i686 x86_64)
license=('GPL3')
url="http://tdb.samba.org/"
source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
depends=('glibc')

build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr \
   --sysconfdir=/etc/samba \
   --localstatedir=/var \
   --enable-talloc-compat1 \
   --enable-largefile
   make || return 1
   make DESTDIR=$pkgdir/ install
   # fix permission
   chmod 644 $pkgdir/usr/lib/libtalloc.a
}
md5sums=('c6e736540145ca58cb3dcb42f91cf57b')