Merge pull request #3149 from equalsraf/tb-smb-cups
samba: link cups smb backend
This commit is contained in:
commit
0d5fe4d39e
|
@ -0,0 +1 @@
|
|||
samba
|
|
@ -83,6 +83,10 @@ post_install() {
|
|||
# Install pkg-config files.
|
||||
vmkdir usr/lib/pkgconfig
|
||||
install -m644 source3/pkgconfig/*.pc ${DESTDIR}/usr/lib/pkgconfig
|
||||
|
||||
# Link cups backend
|
||||
vmkdir usr/lib/cups/backend
|
||||
ln -s /usr/bin/smbspool ${DESTDIR}/usr/lib/cups/backend/smb
|
||||
}
|
||||
|
||||
smbclient_package() {
|
||||
|
@ -119,3 +123,11 @@ samba-devel_package() {
|
|||
vmove usr/lib/libsmbclient.so
|
||||
}
|
||||
}
|
||||
|
||||
samba-cups_package() {
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc="SMB backend for cups"
|
||||
pkg_install() {
|
||||
vmove usr/lib/cups/backend/smb
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue