summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-11-08 04:13:58 +0000
committerDonny Davies <woodchip@gentoo.org>2001-11-08 04:13:58 +0000
commit067b817c3306488aeb80b7f4c681f19b28fe83a6 (patch)
tree556de5264549d182aa262aa612d6abbc1d33119d /media-sound/alsa-utils
parentfix install outside (diff)
downloadhistorical-067b817c3306488aeb80b7f4c681f19b28fe83a6.tar.gz
historical-067b817c3306488aeb80b7f4c681f19b28fe83a6.tar.bz2
historical-067b817c3306488aeb80b7f4c681f19b28fe83a6.zip
fixed to use --mandir. fixed little destdir issue with a patch; the sed
command was broken i think. no changes in functionality, just build glitch.
Diffstat (limited to 'media-sound/alsa-utils')
-rw-r--r--media-sound/alsa-utils/alsa-utils-0.5.10-r7.ebuild37
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-0.5.10-aplay-destdir.diff17
-rw-r--r--media-sound/alsa-utils/files/digest-alsa-utils-0.5.10-r71
3 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/alsa-utils/alsa-utils-0.5.10-r7.ebuild b/media-sound/alsa-utils/alsa-utils-0.5.10-r7.ebuild
new file mode 100644
index 000000000000..e8f100f54fb3
--- /dev/null
+++ b/media-sound/alsa-utils/alsa-utils-0.5.10-r7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# /home/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-0.5.10-r6.ebuild,v 1.1 2001/10/02 20:34:44 woodchip Exp
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Advanced Linux Sound Architecture / Utils"
+SRC_URI="ftp://ftp.alsa-project.org/pub/utils/${P}.tar.bz2"
+HOMEPAGE="http://www.alsa-project.org/"
+
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.1
+ >=media-libs/alsa-lib-0.5.10"
+
+src_unpack() {
+
+ unpack ${A} ; cd ${S}
+ patch -p1 < ${FILESDIR}/alsa-utils-0.5.10-aplay-destdir.diff || die
+}
+
+src_compile() {
+
+ ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} || die
+ make || die
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+
+ dodoc COPYING ChangeLog README
+ dodoc seq/aconnect/README.aconnect
+ dodoc seq/aseqnet/README.aseqnet
+ newdoc alsamixer/README README.alsamixer
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/alsa.rc6 alsa
+}
diff --git a/media-sound/alsa-utils/files/alsa-utils-0.5.10-aplay-destdir.diff b/media-sound/alsa-utils/files/alsa-utils-0.5.10-aplay-destdir.diff
new file mode 100644
index 000000000000..45e6389bdd5e
--- /dev/null
+++ b/media-sound/alsa-utils/files/alsa-utils-0.5.10-aplay-destdir.diff
@@ -0,0 +1,17 @@
+diff -ur alsa-utils-0.5.10.orig/aplay/Makefile.in alsa-utils-0.5.10/aplay/Makefile.in
+--- alsa-utils-0.5.10.orig/aplay/Makefile.in Thu Dec 7 11:59:27 2000
++++ alsa-utils-0.5.10/aplay/Makefile.in Wed Nov 7 16:21:45 2001
+@@ -380,11 +380,11 @@
+ $(LN_S) $< $@
+
+ install-exec-hook:
+- rm -f $(bindir)/arecord
++ rm -f $(DESTDIR)$(bindir)/arecord
+ (cd $(DESTDIR)$(bindir) && $(LN_S) aplay arecord)
+
+ 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)
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/media-sound/alsa-utils/files/digest-alsa-utils-0.5.10-r7 b/media-sound/alsa-utils/files/digest-alsa-utils-0.5.10-r7
new file mode 100644
index 000000000000..83a8ea26a158
--- /dev/null
+++ b/media-sound/alsa-utils/files/digest-alsa-utils-0.5.10-r7
@@ -0,0 +1 @@
+MD5 16ef72c810397409f1dc3cc31b6bcb4e alsa-utils-0.5.10.tar.bz2 118784