Package: samba
Version: 2:3.4.3-1
Source: samba
Severity: wishlist

If somebody wants to build additional vfs samba module, he need get
samba source and configure build tree.

But samba can provide special subpakage with already configured for
build vfs module tree.

# Install samba-vfs-devel
pushd source
for i in `find . -name '*.h' -exec dirname '{}' \; |sort -u` ; do
   %__mkdir -p %buildroot%_datadir/%origname/vfs-devel/source/$i
   %__cp  $i/*.h %buildroot%_datadir/%origname/vfs-devel/source/$i/
done

%__cp include/libsmbclient.h %buildroot%_includedir/
popd

%__cp -r examples/VFS source/Makefile
%buildroot%_datadir/%origname/vfs-devel/source/
sed -ri 's,^(src|build)dir=.*$,\1dir=.,'
%buildroot%_datadir/%origname/vfs-devel/source/Makefile

-- 
Boris



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to