commit 15c8819b2368592f19488f57ded4ee339edc7fde parent a3e2ce6c06abc0fed3d338ec7bca9b9c281b2a51 Author: parazyd <parazyd@dyne.org> Date: Mon, 10 Jun 2019 13:27:54 +0200 app-misc/morse: Add 2.5 Diffstat:
A | app-misc/morse/Manifest | | | 1 | + |
A | app-misc/morse/morse-2.5.ebuild | | | 35 | +++++++++++++++++++++++++++++++++++ |
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/app-misc/morse/Manifest b/app-misc/morse/Manifest @@ -0,0 +1 @@ +DIST morse-2.5.tar.gz 46470 BLAKE2B 3596bf6ccd4672bcf353cecb0e139c199d218ed7d27afe83de01d42b8d5dbde7c937e6ac46b8e85b382da6ef5f32aeb671ad773e49cb095117e0ff9447e01b53 SHA512 42aaafa7779c744a3c2c5ba4785abe72ac67979e2e3c5b0c2fce7127556036baf9250b84e5371be24ce5e1d22c784757b4ea16cf42b477e98d5c2dfa996c1d56 diff --git a/app-misc/morse/morse-2.5.ebuild b/app-misc/morse/morse-2.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A morse-code training program and QSO generator" +HOMEPAGE="http://www.catb.org/~esr/morse/" +SRC_URI="http://www.catb.org/~esr/morse-classic/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + + sed -i \ + -e "s/DEVICE = PA/DEVICE = ALSA/" \ + Makefile || die +} + +src_compile() { + emake all +} + +src_install() { + dobin morse QSO + doman morse.1 QSO.1 + dodoc README HISTORY test_input +}