OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../apmd/skip_xapm.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  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. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- ./Makefile.orig 2002-07-25 08:37:45.000000000 +0200
  18. +++ ./Makefile 2002-07-25 08:39:39.000000000 +0200
  19. @@ -28,7 +28,10 @@
  20. .SUFFIXES:
  21. OBJS=apmlib.o
  22. -EXES=apm apmd xapm apmsleep
  23. +EXES=apm apmd apmsleep
  24. +ifndef SKIP_XAPM
  25. + EXES += xapm
  26. +endif
  27. HEADERS=apm.h
  28. PREFIX=/usr
  29. @@ -94,8 +97,10 @@
  30. install apmd ${PREFIX}/sbin
  31. install -b -Vt apmd_proxy ${APMD_PROXY_DIR}
  32. install -m 644 apmd.8 ${MANDIR}/man8
  33. +ifndef SKIP_XAPM
  34. install xapm ${PREFIX}/bin
  35. install -m 644 xapm.1 ${MANDIR}/man1/xapm.1
  36. +endif
  37. install apmsleep ${PREFIX}/bin
  38. install -m 644 apmsleep.1 ${MANDIR}/man1
  39. install -m 644 apmsleep.1.fr ${MANDIR}/fr/man1