blob: 5b65f4d51fb0f0694d07bf19b4555f61c79100fa (
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
31
|
# $Id: PKGBUILD 142221 2011-11-06 11:39:12Z andrea $
# Maintainer:
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=talloc
pkgver=2.0.7
pkgrel=1.1
pkgdesc="A hierarchical pool based memory allocator with destructors"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://talloc.samba.org/"
depends=('glibc')
makedepends=('python2' 'docbook-xsl')
optdepends=('python2: for python bindings')
source=("http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('dbfb3146f4cc47054e13b8a2988299f9')
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
}
|