blob: dd151c524caeb2265db9507f2e85640d8cce19f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# 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>
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-0.5.9b-r1.ebuild,v 1.1 2000/11/25 03:36:12 drobbins Exp $
A=${P}.tar.bz2
S=${WORKDIR}/${P}
DESCRIPTION="Advanced Linux Sound Architecture / Utils"
SRC_URI="ftp://ftp.alsa-project.org/pub/utils/"${A}
HOMEPAGE="http://www.alsa-project.org/"
DEPEND=">=sys-libs/glibc-2.1.3
>=sys-libs/gpm-1.19.3
>=sys-libs/ncurses-5.1
>=media-libs/alsa-lib-0.5.9"
src_unpack() {
unpack ${A}
}
src_compile() {
cd ${S}
try ./configure --host=${CHOST} --prefix=/usr
try make
}
src_install() {
cd ${S}/aplay
cd aplay
cp Makefile Makefile.orig
sed -e "s:cd \$(bindir):cd \$(DESTDIR)\$(bindir):" \
sed -e "s:cd \$(mandir):cd \$(DESTDIR)\$(mandir):" \
Makefile.orig > Makefile
cd ${S}
try make DESTDIR=${D} install
dodoc ChangeLog COPYING README
newdoc alsamixer/README README.alsamixer
dodoc seq/aconnect/README* seq/aseqnet/README*
insinto /etc/rc.d/init.d
insopts -m0755
doins ${FILESDIR}/alsa
prepman
}
|