Package: acr38 / 1.7.11-1

0002-Install-files-in-DESTDIR.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From dae9a8ceba2c8c17655a18923c1b29bc87270ced Mon Sep 17 00:00:00 2001
From: Laurent Bigonville <bigon@bigon.be>
Date: Tue, 12 May 2009 16:16:39 +0200
Subject: [PATCH 2/5] Install files in $(DESTDIR)

---
 src/driver/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/driver/Makefile.am b/src/driver/Makefile.am
index 97e53b5..118d392 100644
--- a/src/driver/Makefile.am
+++ b/src/driver/Makefile.am
@@ -41,10 +41,10 @@ libACR38UDriver_la_SOURCES = $(SRC_DRV) $(SRC_USB)
 libACR38UDriver_la_LIBADD = @LIBPCSCLITE@ @LIBUSB@ @COREFOUNDATION@ @IOKIT@
 
 install: libACR38UDriver.la
-	$(mkinstalldirs) $(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/
-	$(INSTALL) .libs/$(DRIVER_LIB_NAME) $(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/$(DRIVER_NAME)
-	$(INSTALL) Info.plist $(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents
-#	chmod 755 $(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/$(DRIVER_LIB_NAME)
+	$(mkinstalldirs) $(DESTDIR)$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/
+	$(INSTALL) .libs/$(DRIVER_LIB_NAME) $(DESTDIR)$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/$(DRIVER_NAME).$(DYN_LIB_EXT)
+	$(INSTALL) Info.plist $(DESTDIR)$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents
+#	chmod 755 $(DESTDIR)$(usbdropdir)/$(DRIVER_BUNDLE_DIR)/Contents/$(BUNDLE_HOST)/$(DRIVER_LIB_NAME)
 
 uninstall:
 	rm -rf $(usbdropdir)/$(DRIVER_BUNDLE_DIR)