Package: ebook2cw / 0.8.3-2

no-strip-during-install 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description: Fix FTCBFS: Don't strip during make install.
Author: Helmut Grohne <helmut@subdivi.de>

Index: ebook2cw-0.8.3/Makefile
===================================================================
--- ebook2cw-0.8.3.orig/Makefile
+++ ebook2cw-0.8.3/Makefile
@@ -10,6 +10,7 @@ override DESTDIR:=$(DESTDIR)$(ROOT_DESTD
 USE_LAME?=YES
 USE_OGG?=YES
 
+INSTALL?=install
 CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(ROOT_DESTDIR)\" -D VERSION=\"$(VERSION)\"
 
 ifeq ($(USE_LAME), YES)
@@ -38,18 +39,18 @@ static:
 	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw
 
 install:
-	install -d -v                      $(DESTDIR)/share/man/man1/
-	install -d -v                      $(DESTDIR)/bin/
-	install -d -v                      $(DESTDIR)/share/doc/ebook2cw/
-	install -d -v                      $(DESTDIR)/share/doc/ebook2cw/examples/
-	install -d -v                      $(DESTDIR)/share/locale/de/LC_MESSAGES/
-	install -s -m 0755 ebook2cw        $(DESTDIR)/bin/
-	install    -m 0644 ebook2cw.1      $(DESTDIR)/share/man/man1/
-	install    -m 0644 README          $(DESTDIR)/share/doc/ebook2cw/
-	install    -m 0644 ebook2cw.conf   $(DESTDIR)/share/doc/ebook2cw/examples/
-	install    -m 0644 isomap.txt      $(DESTDIR)/share/doc/ebook2cw/examples/
-	install    -m 0644 utf8map.txt     $(DESTDIR)/share/doc/ebook2cw/examples/
-	install    -m 0644 po/de.mo        $(DESTDIR)/share/locale/de/LC_MESSAGES/ebook2cw.mo
+	$(INSTALL) -d -v                      $(DESTDIR)/share/man/man1/
+	$(INSTALL) -d -v                      $(DESTDIR)/bin/
+	$(INSTALL) -d -v                      $(DESTDIR)/share/doc/ebook2cw/
+	$(INSTALL) -d -v                      $(DESTDIR)/share/doc/ebook2cw/examples/
+	$(INSTALL) -d -v                      $(DESTDIR)/share/locale/de/LC_MESSAGES/
+	$(INSTALL) -s -m 0755 ebook2cw        $(DESTDIR)/bin/
+	$(INSTALL)    -m 0644 ebook2cw.1      $(DESTDIR)/share/man/man1/
+	$(INSTALL)    -m 0644 README          $(DESTDIR)/share/doc/ebook2cw/
+	$(INSTALL)    -m 0644 ebook2cw.conf   $(DESTDIR)/share/doc/ebook2cw/examples/
+	$(INSTALL)    -m 0644 isomap.txt      $(DESTDIR)/share/doc/ebook2cw/examples/
+	$(INSTALL)    -m 0644 utf8map.txt     $(DESTDIR)/share/doc/ebook2cw/examples/
+	$(INSTALL)    -m 0644 po/de.mo        $(DESTDIR)/share/locale/de/LC_MESSAGES/ebook2cw.mo
 	
 uninstall:
 	rm -f $(DESTDIR)/bin/ebook2cw