summaryrefslogtreecommitdiffstats
path: root/extra/talloc/Pkgfile
blob: 8701c3dc1f368e913470caea21dde3edff0066c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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=3
source=(http://samba.org/ftp/$name/$name-$version.tar.gz)
build() { 
unset MAKEFLAGS
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
}