media-radio/qrq: Drop old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2019-04-19 16:48:17 +02:00
parent 221dc5f604
commit edd4e1caa7
-39
View File
@@ -1,39 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit toolchain-funcs
DESCRIPTION="Yet another CW trainer for Linux/Unix"
HOMEPAGE="http://fkurz.net/ham/qrq.html"
SRC_URI="http://fkurz.net/ham/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="pulseaudio"
DEPEND="sys-libs/ncurses:*
pulseaudio? ( media-sound/pulseaudio )"
RDEPEND="${DEPEND}"
src_prepare() {
# avoid prestripping of 'qrq' binary
sed -i -e "s/install -s -m/install -m/" Makefile || die
sed -i -e "s/CC=gcc/CC=$(tc-getCC)/" Makefile || die
sed -i -e "s/-lpulse-simple/-lpthread -lpulse-simple/" Makefile || die
}
src_compile() {
CONF="USE_PA=NO USE_OSS=YES"
if use pulseaudio; then
CONF="USE_PA=YES USE_OSS=NO"
fi
emake $CONF
}
src_install() {
emake $CONF DESTDIR="${D}/usr" install
dodoc AUTHORS ChangeLog README
}