summaryrefslogtreecommitdiff
blob: 2343f411d93b58928f4c5721e97150294a1035d4 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/wavplay/wavplay-1.4.ebuild,v 1.9 2004/09/06 18:11:48 sekretarz Exp $

inherit eutils

DESCRIPTION="A command line player/recorder for wav files"
SRC_URI="http://ibiblio.org/pub/linux/apps/sound/players/${P}.tar.gz"
HOMEPAGE="http://orphan//"
LICENSE="GPL-2"
DEPEND="virtual/libc"
SLOT="0"
KEYWORDS="x86 ~amd64"

IUSE=""

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${P}.patch
	epatch ${FILESDIR}/${P}-gcc34.patch
}

src_compile() {
	emake no_x || die
}

src_install () {
	dodir /usr/bin
	emake INSTDIR=${D}usr/bin install_no_x || die
	# the motif frontend crashes and there are nicer player
	# for X anyway
	# no suid root install for old packages which use strcpy
	dodoc BUGS README
	doman *.1
}