summaryrefslogtreecommitdiffstats
path: root/extra/talloc/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/talloc/Pkgfile')
-rw-r--r--extra/talloc/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/talloc/Pkgfile b/extra/talloc/Pkgfile
new file mode 100644
index 000000000..3769b6853
--- /dev/null
+++ b/extra/talloc/Pkgfile
@@ -0,0 +1,20 @@
+# 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=1
+source=(http://samba.org/ftp/$name/$name-$version.tar.gz)
+build() {
+cd $name-$version
+for i in `find . -exec grep -l python {} \;`;do sed -i "s/env\ python/env\ python2/" $i;done
+./configure --prefix=/usr \
+ --sysconfdir=/etc/samba \
+ --localstatedir=/var \
+ --enable-talloc-compat1
+make
+make DESTDIR=$PKG/ install
+}