From f87d4ca249f823ddb2fbe652935ac7be7069f7d6 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Mon, 2 Oct 2006 15:15:56 +0000 Subject: version bump thanks to Jonathan Geisler in bug 137502, remove old (Portage version: 2.1.2_pre2-r1) --- media-sound/sox/files/digest-sox-12.18.2 | 3 + media-sound/sox/files/sox-12.18.2-destdir.patch | 114 ++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 media-sound/sox/files/digest-sox-12.18.2 create mode 100644 media-sound/sox/files/sox-12.18.2-destdir.patch (limited to 'media-sound/sox/files') diff --git a/media-sound/sox/files/digest-sox-12.18.2 b/media-sound/sox/files/digest-sox-12.18.2 new file mode 100644 index 000000000000..25488a42fce5 --- /dev/null +++ b/media-sound/sox/files/digest-sox-12.18.2 @@ -0,0 +1,3 @@ +MD5 ba25e512a6c824d6e56d76767a18af99 sox-12.18.2.tar.gz 486814 +RMD160 cf85ec4058a66687ad0a39bb85ff062d7c48e7bf sox-12.18.2.tar.gz 486814 +SHA256 832bf98c95580af879fe51311c861ba7c57f07a5791628108ef29a027f0271ff sox-12.18.2.tar.gz 486814 diff --git a/media-sound/sox/files/sox-12.18.2-destdir.patch b/media-sound/sox/files/sox-12.18.2-destdir.patch new file mode 100644 index 000000000000..0eb239788f07 --- /dev/null +++ b/media-sound/sox/files/sox-12.18.2-destdir.patch @@ -0,0 +1,114 @@ +diff -Naupr sox-12.18.2.orig/Makefile.in sox-12.18.2/Makefile.in +--- sox-12.18.2.orig/Makefile.in 2006-10-02 16:57:37.000000000 +0200 ++++ sox-12.18.2/Makefile.in 2006-10-02 17:00:54.000000000 +0200 +@@ -33,22 +33,22 @@ PLAY_INSTALL_1 = install-play + + install: $(PLAY_INSTALL_$(PLAY_SUPPORT)) + cd src && $(MAKE) $@ +- $(srcdir)/mkinstalldirs $(mandir)/man1 +- $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(mandir)/man1 +- if [ -f $(mandir)/man1/soxmix.1 ] ; then $(RM) $(mandir)/man1/soxmix.1; fi +- cd $(mandir)/man1 && $(LN_S) sox.1 soxmix.1 +- $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(mandir)/man1 ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1 ++ $(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 ++ cd $(DESTDIR)$(mandir)/man1 && $(LN_S) sox.1 soxmix.1 ++ $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(DESTDIR)$(mandir)/man1 + + install-play: +- if [ -f $(mandir)/man1/rec.1 ]; then $(RM) $(mandir)/man1/rec.1; fi +- $(srcdir)/mkinstalldirs $(mandir)/man1 +- $(INSTALL) -m 644 $(srcdir)/play.1 $(mandir)/man1 +- cd $(mandir)/man1 && $(LN_S) play.1 rec.1 ++ if [ -f $(DESTDIR)$(mandir)/man1/rec.1 ]; then $(RM) $(DESTDIR)$(mandir)/man1/rec.1; fi ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1 ++ $(INSTALL) -m 644 $(srcdir)/play.1 $(DESTDIR)$(mandir)/man1 ++ cd $(DESTDIR)$(mandir)/man1 && $(LN_S) play.1 rec.1 + + install-lib: + cd src && $(MAKE) $@ +- $(srcdir)/mkinstalldirs $(mandir)/man3 +- $(INSTALL) -m 644 $(srcdir)/libst.3 $(mandir)/man3 ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3 ++ $(INSTALL) -m 644 $(srcdir)/libst.3 $(DESTDIR)$(mandir)/man3 + + + PLAY_UNINSTALL_0 = +@@ -56,9 +56,9 @@ PLAY_UNINSTALL_1 = uninstall-play + + uninstall: $(PLAY_UNINSTALL_$(PLAY_SUPPORT)) + cd src && $(MAKE) $@ +- $(RM) $(mandir)/man1/sox.1 +- $(RM) $(mandir)/man1/soxmix.1 +- $(RM) $(mandir)/man1/soxexam.1 ++ $(RM) $(DESTDIR)$(mandir)/man1/sox.1 ++ $(RM) $(DESTDIR)$(mandir)/man1/soxmix.1 ++ $(RM) $(DESTDIR)$(mandir)/man1/soxexam.1 + + uninstall-play: + $(RM) $(mandir)/man1/play.1 $(mandir)/man1/rec.1 +diff -Naupr sox-12.18.2.orig/src/libgsm/Makefile.in sox-12.18.2/src/libgsm/Makefile.in +--- sox-12.18.2.orig/src/libgsm/Makefile.in 2006-10-02 16:57:37.000000000 +0200 ++++ sox-12.18.2/src/libgsm/Makefile.in 2006-10-02 16:58:43.000000000 +0200 +@@ -77,12 +77,12 @@ libgsm.a: $(LIBOBJS) + $(RANLIB) libgsm.a + + install-lib: libgsm.a +- $(top_srcdir)/mkinstalldirs $(libdir) +- $(top_srcdir)/mkinstalldirs $(mandir)/man3 +- $(INSTALL) -c -m 644 libgsm.a $(libdir) +- $(RANLIB) $(libdir)/libgsm.a +- $(INSTALL) -c -m 644 gsm.3 $(mandir)/man3 +- $(INSTALL) -c -m 644 gsm_option.3 $(mandir)/man3 ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3 ++ $(INSTALL) -c -m 644 libgsm.a $(DESTDIR)$(libdir) ++ $(RANLIB) $(DESTDIR)$(libdir)/libgsm.a ++ $(INSTALL) -c -m 644 gsm.3 $(DESTDIR)$(mandir)/man3 ++ $(INSTALL) -c -m 644 gsm_option.3 $(DESTDIR)$(mandir)/man3 + + uninstall-lib: + $(RM) $(libdir)/libgsm.a +diff -Naupr sox-12.18.2.orig/src/Makefile.in sox-12.18.2/src/Makefile.in +--- sox-12.18.2.orig/src/Makefile.in 2006-10-02 16:57:37.000000000 +0200 ++++ sox-12.18.2/src/Makefile.in 2006-10-02 16:58:43.000000000 +0200 +@@ -107,24 +107,24 @@ PLAY_INSTALL_0 = + PLAY_INSTALL_1 = install-play + + install: sox soxmix $(PLAY_INSTALL_$(PLAY_SUPPORT)) +- $(top_srcdir)/mkinstalldirs $(bindir) +- $(INSTALL) -c -m 755 sox $(bindir) +- $(INSTALL) -c -m 755 soxmix $(bindir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(INSTALL) -c -m 755 sox $(DESTDIR)$(bindir) ++ $(INSTALL) -c -m 755 soxmix $(DESTDIR)$(bindir) + + install-play: +- if [ -f $(bindir)/rec ] ; then $(RM) $(bindir)/rec; fi +- $(top_srcdir)/mkinstalldirs $(bindir) +- $(INSTALL) -c -m 755 play $(bindir) +- cd $(bindir) && $(LN_S) play rec ++ if [ -f $(DESTDIR)$(bindir)/rec ] ; then $(RM) $(DESTDIR)$(bindir)/rec; fi ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(INSTALL) -c -m 755 play $(DESTDIR)$(bindir) ++ cd $(DESTDIR)$(bindir) && $(LN_S) play rec + + install-lib: libst.a +- $(top_srcdir)/mkinstalldirs $(libdir) +- $(top_srcdir)/mkinstalldirs $(includedir) +- $(INSTALL) -c -m 755 libst-config $(bindir) +- $(INSTALL) -c -m 644 libst.a $(libdir) +- $(RANLIB) $(libdir)/libst.a +- $(INSTALL) -c -m 644 $(srcdir)/st.h $(includedir) +- $(INSTALL) -c -m 644 ststdint.h $(includedir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir) ++ $(INSTALL) -c -m 755 libst-config $(DESTDIR)$(bindir) ++ $(INSTALL) -c -m 644 libst.a $(DESTDIR)$(libdir) ++ $(RANLIB) $(DESTDIR)$(libdir)/libst.a ++ $(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 -- cgit v1.2.3-65-gdbad