Magellan Linux

Annotation of /trunk/sox/patches/sox-12.17.7-destdir.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 4395 byte(s)
-import

1 niro 153 diff -uprN sox-12.17.7.orig/Makefile.in sox-12.17.7/Makefile.in
2     --- sox-12.17.7.orig/Makefile.in 2005-02-18 17:42:00.437529456 +0100
3     +++ sox-12.17.7/Makefile.in 2005-02-18 17:46:40.584940576 +0100
4     @@ -32,22 +32,22 @@ PLAY_INSTALL_1 = install-play
5    
6     install: $(PLAY_INSTALL_$(PLAY_SUPPORT))
7     cd src && $(MAKE) $@
8     - $(srcdir)/mkinstalldirs $(mandir)/man1
9     - $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(mandir)/man1
10     - if [ -f $(mandir)/man1/soxmix.1 ] ; then $(RM) $(mandir)/man1/soxmix.1; fi
11     - cd $(mandir)/man1 && $(LN_S) sox.1 soxmix.1
12     - $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(mandir)/man1
13     + $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
14     + $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(DESTDIR)$(mandir)/man1
15     + if [ -f $(DESTDIR)$(mandir)/man1/soxmix.1 ] ; then $(RM) $(DESTDIR)$(mandir)/man1/soxmix.1; fi
16     + cd $(DESTDIR)$(mandir)/man1 && $(LN_S) sox.1 soxmix.1
17     + $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(DESTDIR)$(mandir)/man1
18    
19     install-play:
20     - if [ -f $(mandir)/man1/rec.1 ]; then $(RM) $(mandir)/man1/rec.1; fi
21     - $(srcdir)/mkinstalldirs $(mandir)/man1
22     - $(INSTALL) -c -m 644 $(srcdir)/play.1 $(mandir)/man1
23     - cd $(mandir)/man1 && $(LN_S) play.1 rec.1
24     + if [ -f $(DESTDIR)$(mandir)/man1/rec.1 ]; then $(RM) $(DESTDIR)$(mandir)/man1/rec.1; fi
25     + $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
26     + $(INSTALL) -c -m 644 $(srcdir)/play.1 $(DESTDIR)$(mandir)/man1
27     + cd $(DESTDIR)$(mandir)/man1 && $(LN_S) play.1 rec.1
28    
29     install-lib:
30     cd src && $(MAKE) $@
31     - $(srcdir)/mkinstalldirs $(mandir)/man3
32     - $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(mandir)/man3
33     + $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
34     + $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(DESTDIR)$(mandir)/man3
35    
36    
37     PLAY_UNINSTALL_0 =
38     diff -uprN sox-12.17.7.orig/src/gsm/Makefile.in sox-12.17.7/src/gsm/Makefile.in
39     --- sox-12.17.7.orig/src/gsm/Makefile.in 2005-02-18 17:42:00.406534168 +0100
40     +++ sox-12.17.7/src/gsm/Makefile.in 2005-02-18 17:49:41.294468552 +0100
41     @@ -77,12 +77,12 @@ libgsm.a: $(LIBOBJS)
42     $(RANLIB) libgsm.a
43    
44     install-lib: libgsm.a
45     - $(top_srcdir)/mkinstalldirs $(libdir)
46     - $(top_srcdir)/mkinstalldirs $(mandir)/man3
47     - $(INSTALL) -c -m 644 libgsm.a $(libdir)
48     - $(RANLIB) $(libdir)/libgsm.a
49     - $(INSTALL) -c -m 644 gsm.3 $(mandir)/man3
50     - $(INSTALL) -c -m 644 gsm_option.3 $(mandir)/man3
51     + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
52     + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
53     + $(INSTALL) -c -m 644 libgsm.a $(DESTDIR)$(libdir)
54     + $(RANLIB) $(DESTDIR)$(libdir)/libgsm.a
55     + $(INSTALL) -c -m 644 gsm.3 $(DESTDIR)$(mandir)/man3
56     + $(INSTALL) -c -m 644 gsm_option.3 $(DESTDIR)$(mandir)/man3
57    
58     uninstall-lib:
59     $(RM) $(libdir)/libgsm.a
60     diff -uprN sox-12.17.7.orig/src/Makefile.in sox-12.17.7/src/Makefile.in
61     --- sox-12.17.7.orig/src/Makefile.in 2005-02-18 17:42:00.430530520 +0100
62     +++ sox-12.17.7/src/Makefile.in 2005-02-18 17:48:52.486888432 +0100
63     @@ -103,24 +103,24 @@ PLAY_INSTALL_0 =
64     PLAY_INSTALL_1 = install-play
65    
66     install: sox soxmix $(PLAY_INSTALL_$(PLAY_SUPPORT))
67     - $(top_srcdir)/mkinstalldirs $(bindir)
68     - $(INSTALL) -c -m 755 sox $(bindir)
69     - $(INSTALL) -c -m 755 soxmix $(bindir)
70     + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
71     + $(INSTALL) -c -m 755 sox $(DESTDIR)$(bindir)
72     + $(INSTALL) -c -m 755 soxmix $(DESTDIR)$(bindir)
73    
74     install-play:
75     - if [ -f $(bindir)/rec ] ; then $(RM) $(bindir)/rec; fi
76     - $(top_srcdir)/mkinstalldirs $(bindir)
77     - $(INSTALL) -c -m 755 play $(bindir)
78     - cd $(bindir) && $(LN_S) play rec
79     + if [ -f $(DESTDIR)$(bindir)/rec ] ; then $(RM) $(DESTDIR)$(bindir)/rec; fi
80     + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
81     + $(INSTALL) -c -m 755 play $(DESTDIR)$(bindir)
82     + cd $(DESTDIR)$(bindir) && $(LN_S) play rec
83    
84     install-lib: libst.a
85     - $(top_srcdir)/mkinstalldirs $(libdir)
86     - $(top_srcdir)/mkinstalldirs $(includedir)
87     - $(INSTALL) -c -m 755 libst-config $(bindir)
88     - $(INSTALL) -c -m 644 libst.a $(libdir)
89     - $(RANLIB) $(libdir)/libst.a
90     - $(INSTALL) -c -m 644 $(srcdir)/st.h $(includedir)
91     - $(INSTALL) -c -m 644 ststdint.h $(includedir)
92     + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
93     + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir)
94     + $(INSTALL) -c -m 755 libst-config $(DESTDIR)$(bindir)
95     + $(INSTALL) -c -m 644 libst.a $(DESTDIR)$(libdir)
96     + $(RANLIB) $(DESTDIR)$(libdir)/libst.a
97     + $(INSTALL) -c -m 644 $(srcdir)/st.h $(DESTDIR)$(includedir)
98     + $(INSTALL) -c -m 644 ststdint.h $(DESTDIR)$(includedir)
99    
100     PLAY_UNINSTALL_0 =
101     PLAY_UNINSTALL_1 = uninstall-play