wok-current view samba/receipt @ rev 19814
openscad: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 02 08:34:40 2017 +0100 (2017-03-02) |
parents | dead8955c3ca |
children | 72f9047facba |
line source
1 # SliTaz package receipt.
3 PACKAGE="samba"
4 VERSION="3.6.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="File and print services with SMB/CIFS."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://samba.org/"
11 WGET_URL="${WEB_SITE}$PACKAGE/ftp/stable/$TARBALL"
12 TAZPANEL_DAEMON="man|edit::/etc/samba/smb.conf|web::$WEB_SITE"
13 SUGGESTED="gamin cups perl"
14 CONFIG_FILES="/etc/samba"
15 BUGS="Open directory needs MIT kerberos support (krb5)"
17 BUILD_DEPENDS="openldap openldap-dev libcomerr-dev cups-dev talloc-dev \
18 pkg-config libldap krb5"
19 DEPENDS="libldap samba-common glibc-base ncursesw popt zlib cifs-utils acl \
20 krb5 cups"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src/source3
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --with-piddir=/var/run/samba --with-lockdir=/var/run/samba \
28 --with-winbind --with-ldap --with-fhs --enable-cups --enable-swat \
29 --enable-shared-libs --enable-external-libtalloc --with-libtdb \
30 --with-libsmbsharemodes --with-libsmbclient --without-pam \
31 --sysconfdir=/etc --localstatedir=/var \
32 --mandir=/usr/share/man $CONFIGURE_ARGS &&
33 make -j1 &&
34 make -j1 DESTDIR=$DESTDIR install || return 1
35 #rm -f $DESTDIR/usr/*bin/*.old
36 #ln -s libwbclient.so $DESTDIR/usr/lib/libwbclient.so.0
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/etc $fs
44 cp -a $install/var $fs
45 cp -a $install/usr/lib $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 cp -a $install/usr/bin $fs/usr
48 cp -a $stuff/etc $fs
49 cat $stuff/*.files-list | while read file; do
50 rm -rf $fs$file
51 done
52 }
54 # Pre and post install commands for Tazpkg.
55 post_install()
56 {
57 cat <<EOF
58 ----
59 The main configuration file is /etc/samba/smb.conf
60 ----
61 To start $PACKAGE server you can run :
63 /etc/init.d/$PACKAGE start
65 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
66 ----
67 EOF
68 }