Blame SOURCES/cdparanoia-10.2-install.patch

736bbe
diff -Naupr cdparanoia-III-10.2.orig/Makefile.in cdparanoia-III-10.2/Makefile.in
736bbe
--- cdparanoia-III-10.2.orig/Makefile.in	2008-09-11 22:33:30.000000000 +0200
736bbe
+++ cdparanoia-III-10.2/Makefile.in	2008-12-22 22:31:45.578372040 +0100
736bbe
@@ -63,28 +63,28 @@ slib:
736bbe
 	cd paranoia && $(MAKE) slib
736bbe
 
736bbe
 install:
736bbe
-	$(INSTALL) -d -m 0755 $(BINDIR)
736bbe
-	$(INSTALL) -m 755 $(srcdir)/cdparanoia $(BINDIR)
736bbe
-	$(INSTALL) -d -m 0755 $(MANDIR)
736bbe
-	$(INSTALL) -d -m 0755 $(MANDIR)/man1
736bbe
-	$(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(MANDIR)/man1
736bbe
-	$(INSTALL) -d -m 0755 $(INCLUDEDIR)
736bbe
-	$(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(INCLUDEDIR)
736bbe
-	$(INSTALL) -d -m 0755 $(LIBDIR)
736bbe
-	$(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.so.0.$(VERSION) $(LIBDIR)
736bbe
-	$(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.a $(LIBDIR)
736bbe
-	$(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(INCLUDEDIR)
736bbe
-	$(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.so.0.$(VERSION) $(LIBDIR)
736bbe
-	$(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.a $(LIBDIR)
736bbe
-	$(INSTALL) -m 0644 $(srcdir)/utils.h $(INCLUDEDIR)
736bbe
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(BINDIR)
736bbe
+	$(INSTALL) -m 755 $(srcdir)/cdparanoia $(DESTDIR)$(BINDIR)
736bbe
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(MANDIR)
736bbe
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(MANDIR)/man1
736bbe
+	$(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(DESTDIR)$(MANDIR)/man1
736bbe
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(INCLUDEDIR)
736bbe
+	$(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(DESTDIR)$(INCLUDEDIR)
736bbe
+	$(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR)
736bbe
+	$(INSTALL) -m 0755 $(srcdir)/paranoia/libcdda_paranoia.so.0.$(VERSION) $(DESTDIR)$(LIBDIR)
736bbe
+	$(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.a $(DESTDIR)$(LIBDIR)
736bbe
+	$(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(DESTDIR)$(INCLUDEDIR)
736bbe
+	$(INSTALL) -m 0755 $(srcdir)/interface/libcdda_interface.so.0.$(VERSION) $(DESTDIR)$(LIBDIR)
736bbe
+	$(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.a $(DESTDIR)$(LIBDIR)
736bbe
+	$(INSTALL) -m 0644 $(srcdir)/utils.h $(DESTDIR)$(INCLUDEDIR)
736bbe
 	ln -fs libcdda_interface.so.0.$(VERSION) \
736bbe
-		$(LIBDIR)/libcdda_interface.so.0
736bbe
+		$(DESTDIR)$(LIBDIR)/libcdda_interface.so.0
736bbe
 	ln -fs libcdda_interface.so.0.$(VERSION) \
736bbe
-		$(LIBDIR)/libcdda_interface.so
736bbe
+		$(DESTDIR)$(LIBDIR)/libcdda_interface.so
736bbe
 	ln -fs libcdda_paranoia.so.0.$(VERSION) \
736bbe
-		$(LIBDIR)/libcdda_paranoia.so.0
736bbe
+		$(DESTDIR)$(LIBDIR)/libcdda_paranoia.so.0
736bbe
 	ln -fs libcdda_paranoia.so.0.$(VERSION) \
736bbe
-		$(LIBDIR)/libcdda_paranoia.so
736bbe
+		$(DESTDIR)$(LIBDIR)/libcdda_paranoia.so
736bbe
 
736bbe
 cdparanoia:	$(OFILES) $(LIBDEP)
736bbe
 		$(LD) $(CFLAGS) $(LDFLAGS) $(OFILES) \