Dash:
[t2-trunk.git] / package / printing / lprng / setprinter.patch
blob75fd94b1ca4f9c89b1e761cad2280f363b1504de
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../lprng/setprinter.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 --- ./src/Makefile.in.orig 2003-11-17 17:35:23.000000000 -0300
19 +++ ./src/Makefile.in 2003-11-29 10:42:11.000000000 -0300
20 @@ -348,11 +348,11 @@
21 done;
23 ${LIBTOOL} --mode=install $(INSTALLCMD) liblpr.la $(DESTDIR)$(libdir)/liblpr.la
24 - ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpq ${DESTDIR}${bindir}/lpq
25 - ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lprm ${DESTDIR}${bindir}/lprm
26 - ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpr ${DESTDIR}${bindir}/lpr
27 - ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpstat ${DESTDIR}${bindir}/lpstat
28 - ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpc ${DESTDIR}${sbindir}/lpc
29 + ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpq ${DESTDIR}${bindir}/lpq_lprng
30 + ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lprm ${DESTDIR}${bindir}/lprm_lprng
31 + ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpr ${DESTDIR}${bindir}/lpr_lprng
32 + ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpstat ${DESTDIR}${bindir}/lpstat_lprng
33 + ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpc ${DESTDIR}${sbindir}/lpc_lprng
34 ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpd ${DESTDIR}${LPD_DIR}/lpd
35 ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpf ${DESTDIR}${FILTER_DIR}/lpf
36 ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpbanner ${DESTDIR}${FILTER_DIR}/lpbanner
37 @@ -361,8 +361,8 @@
38 ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) checkpc ${DESTDIR}${sbindir}/checkpc
39 ${LIBTOOL} --mode=install ${INSTALLCMD} -m $(NORM_PERMS) lprng_certs ${DESTDIR}${sbindir}/lprng_certs
40 ${LIBTOOL} --mode=install ${INSTALLCMD} -m $(NORM_PERMS) lprng_index_certs ${DESTDIR}${sbindir}/lprng_index_certs
41 - cd ${DESTDIR}${bindir}; rm -f lp; ln -s lpr lp; echo " SYMLINK `pwd`/lp"
42 - cd ${DESTDIR}${bindir}; rm -f cancel; ln -s lprm cancel; echo " SYMLINK `pwd`/cancel"
43 + cd ${DESTDIR}${bindir}; rm -f lp_lprng; ln -s lpr_lprng lp_lprng; echo " SYMLINK `pwd`/lp_lprng"
44 + cd ${DESTDIR}${bindir}; rm -f cancel_lprng; ln -s lprm_lprng cancel_lprng; echo " SYMLINK `pwd`/cancel_lprng"
46 uninstall: