]> git.pld-linux.org Git - packages/sox.git/commitdiff
- fixes installing (using DESTDIR), also fixes man pages linking
authorfilon <filon@sokrates.mimuw.edu.pl>
Sat, 19 Jan 2002 20:40:13 +0000 (20:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sox-install.patch -> 1.1

sox-install.patch [new file with mode: 0644]

diff --git a/sox-install.patch b/sox-install.patch
new file mode 100644 (file)
index 0000000..3a27f4f
--- /dev/null
@@ -0,0 +1,61 @@
+--- sox-12.17.3/Makefile.in.orig       Sun Dec 16 23:47:37 2001
++++ sox-12.17.3/Makefile.in    Sat Jan 19 21:21:52 2002
+@@ -102,34 +102,34 @@
+ PLAY_INSTALL_1    = install-play
+ install: sox soxmix $(PLAY_INSTALL_$(PLAY_SUPPORT))
+-      $(srcdir)/mkinstalldirs $(bindir)
+-      $(srcdir)/mkinstalldirs $(mandir)/man1
+-      $(INSTALL) -c -m 755 sox $(bindir)
+-      $(INSTALL) -c -m 755 soxmix $(bindir)
+-      $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(mandir)/man1
+-      if [ -f $(mandir)/man1/soxmix.1 ] ; then $(RM) $(mandir)/man1/soxmix.1; fi
+-      $(LN_S) $(mandir)/man1/sox.1 $(mandir)/man1/soxmix.1
+-      $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(mandir)/man1
++      $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
++      $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
++      $(INSTALL) -c -m 755 sox $(DESTDIR)$(bindir)
++      $(INSTALL) -c -m 755 soxmix $(DESTDIR)$(bindir)
++      $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(DESTDIR)$(mandir)/man1
++      if [ -f $(DESTDIR)$(mandir)/man1/soxmix.1 ] ; then $(RM) $(DESTDIR)$(mandir)/man1/soxmix.1; fi
++      echo ".so sox.1" > $(DESTDIR)$(mandir)/man1/soxmix.1
++      $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(DESTDIR)$(mandir)/man1
+ install-play: play
+-      if [ -f $(bindir)/rec ] ; then $(RM) $(bindir)/rec; fi
+-      if [ -f $(mandir)/man1/rec.1 ]; then $(RM) $(mandir)/man1/rec.1; fi
+-      $(srcdir)/mkinstalldirs $(mandir)/man1
+-      $(srcdir)/mkinstalldirs $(bindir)
+-      $(INSTALL) -c -m 755 play $(bindir)
+-      $(INSTALL) -c -m 644 $(srcdir)/play.1 $(mandir)/man1
+-      $(LN_S) $(bindir)/play $(bindir)/rec
+-      $(LN_S) $(mandir)/man1/play.1 $(mandir)/man1/rec.1
++      if [ -f $(DESTDIR)$(bindir)/rec ] ; then $(RM) $(DESTDIR)$(bindir)/rec; fi
++      if [ -f $(DESTDIR)$(mandir)/man1/rec.1 ]; then $(RM) $(DESTDIR)$(mandir)/man1/rec.1; fi
++      $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
++      $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
++      $(INSTALL) -c -m 755 play $(DESTDIR)$(bindir)
++      $(INSTALL) -c -m 644 $(srcdir)/play.1 $(DESTDIR)$(mandir)/man1
++      $(LN_S) $(bindir)/play $(DESTDIR)$(bindir)/rec
++      echo ".so sox.1" > $(DESTDIR)$(mandir)/man1/rec.1
+ install-lib: libst.a
+-      $(srcdir)/mkinstalldirs $(libdir)
+-      $(srcdir)/mkinstalldirs $(mandir)/man3
+-      $(srcdir)/mkinstalldirs $(includedir)
+-      $(INSTALL) -c -m 644 libst.a $(libdir)
+-      $(RANLIB) $(libdir)/libst.a
+-      $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(mandir)/man3
+-      $(INSTALL) -c -m 644 $(srcdir)/st.h $(includedir)
+-      $(INSTALL) -c -m 644 ststdint.h $(includedir)
++      $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
++      $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
++      $(srcdir)/mkinstalldirs $(DESTDIR)$(includedir)
++      $(INSTALL) -c -m 644 libst.a $(DESTDIR)$(libdir)
++      $(RANLIB) $(DESTDIR)$(libdir)/libst.a
++      $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(DESTDIR)$(mandir)/man3
++      $(INSTALL) -c -m 644 $(srcdir)/st.h $(DESTDIR)$(includedir)
++      $(INSTALL) -c -m 644 ststdint.h $(DESTDIR)$(includedir)
+ PLAY_UNINSTALL_0    =
+ PLAY_UNINSTALL_1    = uninstall-play
This page took 0.117249 seconds and 4 git commands to generate.