summaryrefslogtreecommitdiffstats
path: root/samba4/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'samba4/Pkgfile')
-rwxr-xr-xsamba4/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/samba4/Pkgfile b/samba4/Pkgfile
new file mode 100755
index 0000000..86346fd
--- /dev/null
+++ b/samba4/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Service de partage de fichiers et imprimantes Windows pour Linux
+# URL: http://www.samba.org
+# Maintainer: NuTyX core team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: talloc, libcups, gamin, kerberos, libcap
+# Run on: talloc,libcups,gamin,kerberos,libcap
+
+name=samba4
+version=4.0.0alpha17
+release=1
+localname=samba
+source=(http://ftp.samba.org/pub/samba/samba4/$localname-$version.tar.gz)
+
+
+build() {
+ cd $localname-$version
+ sed "s|#!/usr/bin/env python|#!/usr/bin/env python2|" -i buildtools/bin/waf
+ export PYTHON=/usr/bin/python2
+ ./buildtools/bin/waf configure -C \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --enable-developer \
+ --enable-socket-wrapper \
+ --enable-nss-wrapper \
+ --enable-fhs \
+ --with-piddir=/var/run \
+ --with-pammodulesdir=/lib/security \
+ --with-syslog
+ ./buildtools/bin/waf build
+ ./buildtools/bin/waf install --destdir=$PKG
+}