summaryrefslogtreecommitdiffstats
path: root/samba4/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-10-25 00:55:30 +0200
committerpiernov <piernov@piernov.org>2011-10-25 00:56:48 +0200
commite2ee36172e2fffd7407b822f7e2e19ff3276da4d (patch)
treed76ed080a39395d8edf17cb9ce143caa18973312 /samba4/Pkgfile
parent86cd49c21b435e41b0780167a661bfb337836b51 (diff)
downloadgnome3-e2ee36172e2fffd7407b822f7e2e19ff3276da4d.tar.gz
gnome3-e2ee36172e2fffd7407b822f7e2e19ff3276da4d.tar.bz2
gnome3-e2ee36172e2fffd7407b822f7e2e19ff3276da4d.tar.xz
gnome3-e2ee36172e2fffd7407b822f7e2e19ff3276da4d.zip
samba4 4.0.0alpha17-1 ajout port
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
+}