1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/cups-samba/cups-samba.conf
3 # Copyright (C) 2004 - 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
15 prefix=$(pkgprefix cups)
20 hook_add postmake 5 'cupssmb_install'
22 cupssmb_translator() {
24 *.hlp) echo "cups.hlp" ;;
25 cupsdrv*.dll) echo "cupsdrvr.dll" ;;
26 cupsui*.dll) echo "cupsui.dll" ;;
34 tar -vxf cups-samba.ss
35 for x in `find usr/ -type f`; do
36 cp -v $x $(pkgprefix datadir cups)/cups/drivers/$(cupssmb_translator ${x##*/})