blob: 678ee5af43f1229c2357dcd581e1f460acdc1883 (
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
27
28
29
30
|
# $Id: PKGBUILD 116938 2011-03-26 14:56:31Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=talloc
pkgver=2.0.5
pkgrel=1
pkgdesc="A hierarchical pool based memory allocator with destructors"
arch=(i686 x86_64)
license=('GPL3')
url="http://talloc.samba.org/"
source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
makedepends=('python2')
depends=('glibc')
optdepends=('python2: for python bindings')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -i -e 's#python#python2#g' buildtools/bin/waf
./configure --prefix=/usr \
--sysconfdir=/etc/samba \
--localstatedir=/var \
--enable-talloc-compat1
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=$pkgdir/ install
}
md5sums=('6e3fdfbc43dde8ccba27b6af894b8fb2')
|