summaryrefslogtreecommitdiffstats
path: root/net/samba/BUILD
blob: a7f3992e577d66703dae525314fb7b3832245feb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
OPTS="--with-swatdir=/usr/share/swat  \
      --with-smbmount                 \
      --with-fhs                      \
      --with-automount                \
      --with-winbind                  \
      --with-libsmbclient             \
      $SAMBA_QUOTA                    \
      $OPTS"                          &&

if  [[  "$SAMBA_CIFS"  ==  "y"  ]];  then
  OPTS="--with-cifsmount $OPTS"
else
  OPTS="--without-cifsmount $OPTS"
fi &&

cd  $SOURCE_DIRECTORY/source3  &&
default_build  &&

if [[ "$SAMBA_VSCAN" == "y" ]] ; then
        ORG_DIR=`pwd`
        cd $SOURCE_DIRECTORY/examples/VFS/$SPELL-vscan-$VSCAN_VERSION &&
        ./configure $ORG_OPTS   &&
        make &&
        cd $ORG_DIR
fi