* updated firefox (133.0.3 -> 134.0.2)
[t2sde.git] / package / printing / cups-samba / cups-samba.conf
blob8b948e322f70bd8cb2099f1668cdd0af9afb4bbf
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/cups-samba/cups-samba.conf
3 # Copyright (C) 2004 - 2023 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
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 ---
12 srcdir=./
14 pkgprefix -t cups
15 prefix=$(pkgprefix cups)
17 makeopt=
18 makeinstopt=
20 hook_add postmake 5 'cupssmb_install'
22 cupssmb_translator() {
23         case "$1" in
24                 *.hlp)          echo "cups.hlp" ;;
25                 cupsdrv*.dll)   echo "cupsdrvr.dll" ;;
26                 cupsui*.dll)    echo "cupsui.dll" ;;
27                 *)              echo "$1" ;;
28         esac
31 cupssmb_install() {
32         local x= y=
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##*/})
37         done