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.

37 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../pciutils/libpci.patch
  5. # Copyright (C) 2006 - 2007 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.orig 2007-05-04 05:43:16.000000000 -0400
  17. +++ ./Makefile 2007-05-04 16:59:08.000000000 -0400
  18. @@ -9,6 +9,8 @@
  19. PREFIX=/usr/local
  20. SBINDIR=$(PREFIX)/sbin
  21. +LIBDIR=$(PREFIX)/lib
  22. +INCDIR=$(PREFIX)/include
  23. SHAREDIR=$(PREFIX)/share
  24. IDSDIR=$(SHAREDIR)
  25. MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi)
  26. @@ -62,6 +64,9 @@
  27. $(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR)
  28. $(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR)
  29. $(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8
  30. + $(INSTALL) -c -m 755 -d $(DESTDIR)$(INCDIR)/pci
  31. + $(INSTALL) -c -m 644 lib/libpci.a $(DESTDIR)$(LIBDIR)/
  32. + $(INSTALL) -c -m 644 lib/*.h $(DESTDIR)$(INCDIR)/pci/
  33. uninstall: all
  34. rm -f $(DESTDIR)$(SBINDIR)/lspci $(DESTDIR)$(SBINDIR)/setpci $(DESTDIR)$(SBINDIR)/update-pciids