You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/bplay/bplay-0.991.ebuild

30 lines
625 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="No-frills command-line buffered player and recorder"
HOMEPAGE="http://www.amberdata.demon.co.uk/bplay/"
SRC_URI="http://www.amberdata.demon.co.uk/bplay/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc sparc x86"
src_compile() {
emake \
LDFLAGS="${LDFLAGS}" \
CFLAGS="${CFLAGS} -DUSEBUFFLOCK" \
CC="$(tc-getCC)" bplay
}
src_install() {
newbin bplay bplay-bin
dosym bplay-bin /usr/bin/brec
doman brec.1
newman bplay.1 bplay-bin.1
einstalldocs
}