Merge pull request #3149 from equalsraf/tb-smb-cups

samba: link cups smb backend
This commit is contained in:
Juan RP 2015-12-11 12:01:00 +01:00
commit 0d5fe4d39e
2 changed files with 13 additions and 0 deletions

1
srcpkgs/samba-cups Symbolic link
View File

@ -0,0 +1 @@
samba

View File

@ -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
}
}