gentoo-ebuilds/app-text/ebook2cw/ebook2cw-0.8.5.ebuild
Filip Kobierski 68a9421504
app-text/ebook2cw: remove empty IUSE
Signed-off-by: Filip Kobierski <fkobi@pm.me>
Closes: https://github.com/gentoo/gentoo/pull/37758
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
2024-07-31 14:38:10 +02:00

31 lines
661 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Convert ebooks to Morse MP3s/OGGs"
HOMEPAGE="https://fkurz.net/ham/ebook2cw.html"
SRC_URI="https://fkurz.net/ham/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
DEPEND="
media-sound/lame
media-libs/libvorbis
media-libs/libogg
"
src_prepare() {
# avoid prestripping of 'qrq' binary
sed -i -e "s/install -s -m/install -m/" Makefile || die
# fix install dir for doc files
sed -i -e "s#/doc/ebook2cw/#/doc/${P}/#g" Makefile || die
eapply_user
}
src_install() {
emake DESTDIR="${D}/usr" install
dodoc ChangeLog
}