wok-4.x view smbfs/receipt @ rev 8510

Samba: read files.list directly from stuff
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 04:09:28 2011 +0100 (2011-02-12)
parents 7157da8f2285
children 10c284c8d672
line source
1 # SliTaz package receipt.
3 PACKAGE="smbfs"
4 VERSION="3.5.6"
5 CATEGORY="network"
6 SHORT_DESC="Mount/umount tools for SMB/CIFS"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="linux-cifs"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.samba.org/"
11 WANTED="samba"
12 SUGGESTED="smbclient"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 while read file; do
18 dir=${file%/*}
19 [ -d $fs$dir ] || mkdir -p $fs$dir
20 cp -a $_pkg$file $fs$dir
21 done < $WOK/$WANTED/stuff/$PACKAGE.files-list
22 }