]> git.pld-linux.org Git - packages/sox.git/blame - sox-install.patch
- spelling fixes
[packages/sox.git] / sox-install.patch
CommitLineData
ca22e496
JB
1--- sox-12.17.6/src/Makefile.in.orig 2004-10-03 03:02:24.000000000 +0200
2+++ sox-12.17.6/src/Makefile.in 2004-10-21 22:01:10.089196688 +0200
3@@ -102,24 +102,24 @@
0ad9c485 4 PLAY_INSTALL_1 = install-play
5
6 install: sox soxmix $(PLAY_INSTALL_$(PLAY_SUPPORT))
ca22e496 7- $(top_srcdir)/mkinstalldirs $(bindir)
0ad9c485 8- $(INSTALL) -c -m 755 sox $(bindir)
9- $(INSTALL) -c -m 755 soxmix $(bindir)
ca22e496 10+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
0ad9c485 11+ $(INSTALL) -c -m 755 sox $(DESTDIR)$(bindir)
12+ $(INSTALL) -c -m 755 soxmix $(DESTDIR)$(bindir)
0ad9c485 13
08bdd41f 14 install-play:
0ad9c485 15- if [ -f $(bindir)/rec ] ; then $(RM) $(bindir)/rec; fi
ca22e496 16- $(top_srcdir)/mkinstalldirs $(bindir)
0ad9c485 17- $(INSTALL) -c -m 755 play $(bindir)
0ad9c485 18- $(LN_S) $(bindir)/play $(bindir)/rec
0ad9c485 19+ if [ -f $(DESTDIR)$(bindir)/rec ] ; then $(RM) $(DESTDIR)$(bindir)/rec; fi
ca22e496 20+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
0ad9c485 21+ $(INSTALL) -c -m 755 play $(DESTDIR)$(bindir)
0ad9c485 22+ $(LN_S) $(bindir)/play $(DESTDIR)$(bindir)/rec
0ad9c485 23
24 install-lib: libst.a
ca22e496
JB
25- $(top_srcdir)/mkinstalldirs $(libdir)
26- $(top_srcdir)/mkinstalldirs $(includedir)
08bdd41f 27- $(INSTALL) -c -m 755 libst-config $(bindir)
0ad9c485 28- $(INSTALL) -c -m 644 libst.a $(libdir)
29- $(RANLIB) $(libdir)/libst.a
0ad9c485 30- $(INSTALL) -c -m 644 $(srcdir)/st.h $(includedir)
31- $(INSTALL) -c -m 644 ststdint.h $(includedir)
ca22e496
JB
32+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
33+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir)
08bdd41f 34+ $(INSTALL) -c -m 755 libst-config $(DESTDIR)$(bindir)
0ad9c485 35+ $(INSTALL) -c -m 644 libst.a $(DESTDIR)$(libdir)
36+ $(RANLIB) $(DESTDIR)$(libdir)/libst.a
0ad9c485 37+ $(INSTALL) -c -m 644 $(srcdir)/st.h $(DESTDIR)$(includedir)
38+ $(INSTALL) -c -m 644 ststdint.h $(DESTDIR)$(includedir)
39
ca22e496
JB
40 PLAY_UNINSTALL_0 =
41 PLAY_UNINSTALL_1 = uninstall-play
42--- sox-12.17.6/Makefile.in.orig 2004-09-02 00:04:02.000000000 +0200
43+++ sox-12.17.6/Makefile.in 2004-10-21 21:58:35.873641016 +0200
44@@ -29,22 +29,22 @@
45
46 install: $(PLAY_INSTALL_$(PLAY_SUPPORT))
47 cd src && $(MAKE) $@
48- $(srcdir)/mkinstalldirs $(mandir)/man1
49- $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(mandir)/man1
50- if [ -f $(mandir)/man1/soxmix.1 ] ; then $(RM) $(mandir)/man1/soxmix.1; fi
51- $(LN_S) $(mandir)/man1/sox.1 $(mandir)/man1/soxmix.1
52- $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(mandir)/man1
53+ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
54+ $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(DESTDIR)$(mandir)/man1
55+ if [ -f $(DESTDIR)$(mandir)/man1/soxmix.1 ] ; then $(RM) $(DESTDIR)$(mandir)/man1/soxmix.1; fi
56+ echo '.so sox.1' > $(DESTDIR)$(mandir)/man1/soxmix.1
57+ $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(DESTDIR)$(mandir)/man1
58
59 install-play:
60- if [ -f $(mandir)/man1/rec.1 ]; then $(RM) $(mandir)/man1/rec.1; fi
61- $(srcdir)/mkinstalldirs $(mandir)/man1
62- $(INSTALL) -c -m 644 $(srcdir)/play.1 $(mandir)/man1
63- $(LN_S) $(mandir)/man1/play.1 $(mandir)/man1/rec.1
64+ if [ -f $(DESTDIR)$(mandir)/man1/rec.1 ]; then $(RM) $(DESTDIR)$(mandir)/man1/rec.1; fi
65+ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
66+ $(INSTALL) -c -m 644 $(srcdir)/play.1 $(DESTDIR)$(mandir)/man1
67+ $(LN_S) $(mandir)/man1/play.1 $(DESTDIR)$(mandir)/man1/rec.1
68
69 install-lib:
70 cd src && $(MAKE) $@
71- $(srcdir)/mkinstalldirs $(mandir)/man3
72- $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(mandir)/man3
73+ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
74+ $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(DESTDIR)$(mandir)/man3
75
76
77 PLAY_UNINSTALL_0 =
This page took 0.088139 seconds and 4 git commands to generate.