X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=alsa-utils-DESTDIR.patch;h=11b7dba17c78e18058e94e7e7688396dfb10c1a3;hb=d8b7b583ca5877d3e556515663acbc1f4870467b;hp=e50ba74d88f7dcd54e53c37709dd1903aa117b6f;hpb=cb26a0dc8fb205130e1f06e0134c69433c811c05;p=packages%2Falsa-utils.git diff --git a/alsa-utils-DESTDIR.patch b/alsa-utils-DESTDIR.patch index e50ba74..11b7dba 100644 --- a/alsa-utils-DESTDIR.patch +++ b/alsa-utils-DESTDIR.patch @@ -1,35 +1,15 @@ ---- Makefile.old Tue May 25 15:13:25 1999 -+++ Makefile Tue May 25 15:14:32 1999 -@@ -23,19 +23,19 @@ - @echo +diff -Nru alsa-utils-0.5.10/aplay/Makefile.am alsa-utils-0.5.10.new/aplay/Makefile.am +--- alsa-utils-0.5.10/aplay/Makefile.am Sat Nov 4 13:17:20 2000 ++++ alsa-utils-0.5.10.new/aplay/Makefile.am Thu Dec 7 18:15:19 2000 +@@ -16,9 +16,9 @@ + $(LN_S) $< $@ - install: all -- $(INSTALL) -m 755 -o root -g root -d ${sbindir} -- $(INSTALL) -s -m 755 -o root -g root alsactl/alsactl ${sbindir} -- $(INSTALL) -m 644 -o root -g root alsactl/alsactl.1 ${mandir}/man1 -- $(INSTALL) -m 755 -o root -g root -d ${bindir} -- $(INSTALL) -s -m 755 -o root -g root aplay/aplay ${bindir} -- ln -sf aplay ${bindir}/arecord -- $(INSTALL) -s -m 755 -o root -g root amixer/amixer ${bindir} -- $(INSTALL) -d -m 755 -o root -g root ${mandir}/man1 -- $(INSTALL) -m 644 -o root -g root amixer/amixer.1 ${mandir}/man1 -- $(INSTALL) -s -m 755 -o root -g root alsamixer/alsamixer ${bindir} -- $(INSTALL) -m 644 -o root -g root alsamixer/alsamixer.1 ${mandir}/man1 -- $(INSTALL) -m 644 -o root -g root aplay/arecord.1 ${mandir}/man1 -- ln -sf arecord.1 ${mandir}/man1/aplay.1 -+ $(INSTALL) -m 755 -d $(DESTDIR)${sbindir} -+ $(INSTALL) -s -m 755 alsactl/alsactl $(DESTDIR)${sbindir} -+ $(INSTALL) -m 644 alsactl/alsactl.1 $(DESTDIR)${mandir}/man1 -+ $(INSTALL) -m 755 -d $(DESTDIR)${bindir} -+ $(INSTALL) -s -m 755 aplay/aplay $(DESTDIR)${bindir} -+ ln -sf aplay $(DESTDIR)${bindir}/arecord -+ $(INSTALL) -s -m 755 amixer/amixer $(DESTDIR)${bindir} -+ $(INSTALL) -d -m 755 $(DESTDIR)${mandir}/man1 -+ $(INSTALL) -m 644 amixer/amixer.1 $(DESTDIR)${mandir}/man1 -+ $(INSTALL) -s -m 755 alsamixer/alsamixer $(DESTDIR)${bindir} -+ $(INSTALL) -m 644 alsamixer/alsamixer.1 $(DESTDIR)${mandir}/man1 -+ $(INSTALL) -m 644 aplay/arecord.1 $(DESTDIR)${mandir}/man1 -+ echo .so arecord.1 > $(DESTDIR)${mandir}/man1/aplay.1 + install-exec-hook: +- rm -f $(bindir)/arecord ++ rm -f $(DESTDIR)$(bindir)/arecord + (cd $(DESTDIR)$(bindir) && $(LN_S) aplay arecord) - clean: - $(MAKE) -C include clean + install-data-hook: +- rm -f $(mandir)/man1/arecord.1 ++ rm -f $(DESTDIR)$(mandir)/man1/arecord.1 + (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) aplay.1 arecord.1)