wok-current annotate smbclient/receipt @ rev 17903
smbclient: symlink smbspool to cups backend (again)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Apr 04 10:31:10 2015 -0400 (2015-04-04) |
parents | 54f686c353f6 |
children | 9b7c1ea86466 |
rev | line source |
---|---|
pascal@1250 | 1 # SliTaz package receipt. |
pascal@1250 | 2 |
pascal@1250 | 3 PACKAGE="smbclient" |
slaxemulator@13268 | 4 VERSION="3.6.7" |
pascal@1250 | 5 CATEGORY="network" |
pascal@1250 | 6 SHORT_DESC="File and print services with SMB/CIFS, client side." |
pascal@1250 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@1250 | 9 WEB_SITE="http://samba.org/" |
pascal@14999 | 10 WANTED="samba" |
pascal@14999 | 11 |
erjo@4784 | 12 DEPENDS="libldap libssl cyrus-sasl readline ncurses popt libcap \ |
mojo@11666 | 13 libcomerr3 libkrb5 attr samba-common glibc-extra-samba" |
pascal@1250 | 14 |
pascal@1250 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1250 | 16 genpkg_rules() |
pascal@1250 | 17 { |
pascal@1250 | 18 while read file; do |
pascal@4207 | 19 dir=${file%/*} |
pascal@1250 | 20 [ -d $fs$dir ] || mkdir -p $fs$dir |
pascal@15603 | 21 cp -a $install$file $fs$dir |
slaxemulator@8928 | 22 done < $wanted_stuff/$PACKAGE.files-list |
mojo@17901 | 23 |
mojo@17901 | 24 # Symlink smbspool to cups backend |
mojo@17901 | 25 mkdir -p $fs/usr/lib/cups/backend |
mojo@17903 | 26 ln -sf /usr/bin/smbspool $fs/usr/lib/cups/backend/smb |
pascal@1250 | 27 } |
pascal@1250 | 28 |