| 1 |
# Copyright 1999-2009 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/bplay/bplay-0.991.ebuild,v 1.17 2006/03/07 13:32:09 flameeyes Exp $
|
| 4 |
|
| 5 |
inherit toolchain-funcs
|
| 6 |
|
| 7 |
DESCRIPTION="No-frills command-line buffered player and recorder."
|
| 8 |
HOMEPAGE="http://www.amberdata.demon.co.uk/bplay/"
|
| 9 |
SRC_URI="http://www.amberdata.demon.co.uk/bplay/${P}.tar.gz"
|
| 10 |
|
| 11 |
LICENSE="GPL-2"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="amd64 hppa ~ppc sparc x86"
|
| 14 |
IUSE=""
|
| 15 |
|
| 16 |
src_compile() {
|
| 17 |
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" \
|
| 18 |
CFLAGS="${CFLAGS} -DUSEBUFFLOCK" bplay || die "emake failed"
|
| 19 |
}
|
| 20 |
|
| 21 |
src_install () {
|
| 22 |
newbin bplay bplay-bin || die "dobin failed"
|
| 23 |
dosym bplay-bin /usr/bin/brec || die "dosym failed"
|
| 24 |
doman brec.1
|
| 25 |
newman bplay.1 bplay-bin.1
|
| 26 |
dodoc README
|
| 27 |
}
|