|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
|
#
|
|
|
|
|
# Filename: package/.../pciutils/libpci.patch
|
|
|
|
|
# Copyright (C) 2006 The OpenSDE Project
|
|
|
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project
|
|
|
|
|
#
|
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
|
#
|
|
|
|
@ -14,8 +14,8 @@
|
|
|
|
|
# version.
|
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
|
|
--- ./Makefile.orig 2006-11-25 17:19:15.000000000 -0300
|
|
|
|
|
+++ ./Makefile 2006-11-25 17:22:48.000000000 -0300
|
|
|
|
|
--- ./Makefile.orig 2007-05-04 05:43:16.000000000 -0400
|
|
|
|
|
+++ ./Makefile 2007-05-04 16:59:08.000000000 -0400
|
|
|
|
|
@@ -9,6 +9,8 @@
|
|
|
|
|
|
|
|
|
|
PREFIX=/usr/local
|
|
|
|
@ -25,13 +25,13 @@
|
|
|
|
|
SHAREDIR=$(PREFIX)/share
|
|
|
|
|
IDSDIR=$(SHAREDIR)
|
|
|
|
|
MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi)
|
|
|
|
|
@@ -70,6 +72,9 @@
|
|
|
|
|
$(INSTALL) -c -m 755 update-pciids $(SBINDIR)
|
|
|
|
|
$(INSTALL) -c -m 644 pci.ids $(IDSDIR)
|
|
|
|
|
$(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(MANDIR)/man8
|
|
|
|
|
+ $(INSTALL) -c -m 755 -d $(INCDIR)/pci
|
|
|
|
|
+ $(INSTALL) -c -m 644 lib/libpci.a $(LIBDIR)/
|
|
|
|
|
+ $(INSTALL) -c -m 644 lib/*.h $(INCDIR)/pci/
|
|
|
|
|
@@ -62,6 +64,9 @@
|
|
|
|
|
$(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR)
|
|
|
|
|
$(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR)
|
|
|
|
|
$(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8
|
|
|
|
|
+ $(INSTALL) -c -m 755 -d $(DESTDIR)$(INCDIR)/pci
|
|
|
|
|
+ $(INSTALL) -c -m 644 lib/libpci.a $(DESTDIR)$(LIBDIR)/
|
|
|
|
|
+ $(INSTALL) -c -m 644 lib/*.h $(DESTDIR)$(INCDIR)/pci/
|
|
|
|
|
|
|
|
|
|
uninstall: all
|
|
|
|
|
rm -f $(SBINDIR)/lspci $(SBINDIR)/setpci $(SBINDIR)/update-pciids
|
|
|
|
|
rm -f $(DESTDIR)$(SBINDIR)/lspci $(DESTDIR)$(SBINDIR)/setpci $(DESTDIR)$(SBINDIR)/update-pciids
|
|
|
|
|