wok-6.x annotate 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 |
rev | line source |
---|---|
erjo@4789 | 1 # SliTaz package receipt. |
erjo@4789 | 2 |
erjo@4789 | 3 PACKAGE="smbfs" |
slaxemulator@6618 | 4 VERSION="3.5.6" |
pankso@5617 | 5 CATEGORY="network" |
erjo@4789 | 6 SHORT_DESC="Mount/umount tools for SMB/CIFS" |
erjo@4789 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@4789 | 8 DEPENDS="linux-cifs" |
erjo@4789 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@6409 | 10 WEB_SITE="http://www.samba.org/" |
erjo@4789 | 11 WANTED="samba" |
erjo@4789 | 12 SUGGESTED="smbclient" |
erjo@4789 | 13 |
erjo@4789 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4789 | 15 genpkg_rules() |
erjo@4789 | 16 { |
erjo@4789 | 17 while read file; do |
erjo@4789 | 18 dir=${file%/*} |
erjo@4789 | 19 [ -d $fs$dir ] || mkdir -p $fs$dir |
erjo@4789 | 20 cp -a $_pkg$file $fs$dir |
gokhlayeh@8510 | 21 done < $WOK/$WANTED/stuff/$PACKAGE.files-list |
erjo@4789 | 22 } |
erjo@4789 | 23 |
erjo@4789 | 24 |