summaryrefslogtreecommitdiffstats
path: root/extra/talloc/Pkgfile
blob: 837a0a7f2112373fe8a61d8463419af7219c2658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Un allocateur basé sur un pool hiÃrarchique de mémoire avec destructeurs
# URL: http://tdb.samba.org/
# Packager: thierryn1 at hispeed dot ch
# Maintainer: NuTyX core team
# Depends on: libxslt, docbook-xsl

name=talloc
version=2.0.5
release=2
source=(http://samba.org/ftp/$name/$name-$version.tar.gz)
build() { 
cd $name-$version
#for i in `find . -exec grep -l 'env\ python$' {} \;`;do sed -i "s/env\ python/env\ python2/" $i;done
sed -i -e 's#python#python2#g' buildtools/bin/waf
./configure --prefix=/usr \
	--sysconfdir=/etc/samba \
	--localstatedir=/var \
	--enable-talloc-compat1
make
make DESTDIR=$PKG/ install
}