1 |
agriffis |
1.7 |
# Copyright 1999-2004 Gentoo Foundation |
2 |
phosphan |
1.3 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
eradicator |
1.8 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/wavplay/wavplay-1.4.ebuild,v 1.7 2004/06/25 00:29:18 agriffis Exp $ |
4 |
phosphan |
1.1 |
|
5 |
|
|
inherit eutils |
6 |
|
|
|
7 |
|
|
DESCRIPTION="A command line player/recorder for wav files" |
8 |
|
|
SRC_URI="http://ibiblio.org/pub/linux/apps/sound/players/${P}.tar.gz" |
9 |
|
|
HOMEPAGE="http://orphan//" |
10 |
|
|
LICENSE="GPL-2" |
11 |
eradicator |
1.8 |
DEPEND="virtual/libc" |
12 |
phosphan |
1.1 |
SLOT="0" |
13 |
absinthe |
1.6 |
KEYWORDS="x86 ~amd64" |
14 |
phosphan |
1.1 |
|
15 |
|
|
IUSE="" |
16 |
|
|
|
17 |
|
|
src_unpack() { |
18 |
|
|
unpack ${A} |
19 |
|
|
epatch ${FILESDIR}/${P}.patch |
20 |
|
|
} |
21 |
|
|
|
22 |
|
|
src_compile() { |
23 |
|
|
emake no_x || die |
24 |
|
|
} |
25 |
|
|
|
26 |
|
|
src_install () { |
27 |
|
|
dodir /usr/bin |
28 |
|
|
emake INSTDIR=${D}usr/bin install_no_x || die |
29 |
|
|
# the motif frontend crashes and there are nicer player |
30 |
|
|
# for X anyway |
31 |
|
|
# no suid root install for old packages which use strcpy |
32 |
|
|
dodoc BUGS README |
33 |
|
|
doman *.1 |
34 |
|
|
} |
35 |
|
|
|