|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../lprng/setprinter.patch
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
--- ./src/Makefile.in.orig 2003-11-17 17:35:23.000000000 -0300
|
|
|
|
+++ ./src/Makefile.in 2003-11-29 10:42:11.000000000 -0300
|
|
|
|
@@ -348,11 +348,11 @@
|
|
|
|
done;
|
|
|
|
|
|
|
|
${LIBTOOL} --mode=install $(INSTALLCMD) liblpr.la $(DESTDIR)$(libdir)/liblpr.la
|
|
|
|
- ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpq ${DESTDIR}${bindir}/lpq
|
|
|
|
- ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lprm ${DESTDIR}${bindir}/lprm
|
|
|
|
- ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpr ${DESTDIR}${bindir}/lpr
|
|
|
|
- ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpstat ${DESTDIR}${bindir}/lpstat
|
|
|
|
- ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpc ${DESTDIR}${sbindir}/lpc
|
|
|
|
+ ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpq ${DESTDIR}${bindir}/lpq_lprng
|
|
|
|
+ ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lprm ${DESTDIR}${bindir}/lprm_lprng
|
|
|
|
+ ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpr ${DESTDIR}${bindir}/lpr_lprng
|
|
|
|
+ ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpstat ${DESTDIR}${bindir}/lpstat_lprng
|
|
|
|
+ ${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpc ${DESTDIR}${sbindir}/lpc_lprng
|
|
|
|
${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpd ${DESTDIR}${LPD_DIR}/lpd
|
|
|
|
${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpf ${DESTDIR}${FILTER_DIR}/lpf
|
|
|
|
${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpbanner ${DESTDIR}${FILTER_DIR}/lpbanner
|
|
|
|
@@ -361,8 +361,8 @@
|
|
|
|
${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) checkpc ${DESTDIR}${sbindir}/checkpc
|
|
|
|
${LIBTOOL} --mode=install ${INSTALLCMD} -m $(NORM_PERMS) lprng_certs ${DESTDIR}${sbindir}/lprng_certs
|
|
|
|
${LIBTOOL} --mode=install ${INSTALLCMD} -m $(NORM_PERMS) lprng_index_certs ${DESTDIR}${sbindir}/lprng_index_certs
|
|
|
|
- cd ${DESTDIR}${bindir}; rm -f lp; ln -s lpr lp; echo " SYMLINK `pwd`/lp"
|
|
|
|
- cd ${DESTDIR}${bindir}; rm -f cancel; ln -s lprm cancel; echo " SYMLINK `pwd`/cancel"
|
|
|
|
+ cd ${DESTDIR}${bindir}; rm -f lp_lprng; ln -s lpr_lprng lp_lprng; echo " SYMLINK `pwd`/lp_lprng"
|
|
|
|
+ cd ${DESTDIR}${bindir}; rm -f cancel_lprng; ln -s lprm_lprng cancel_lprng; echo " SYMLINK `pwd`/cancel_lprng"
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
|