diff options
Diffstat (limited to 'app-text/ebook2cw/ebook2cw-0.8.5.ebuild')
-rw-r--r-- | app-text/ebook2cw/ebook2cw-0.8.5.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-text/ebook2cw/ebook2cw-0.8.5.ebuild b/app-text/ebook2cw/ebook2cw-0.8.5.ebuild new file mode 100644 index 000000000000..9ff5b441d55c --- /dev/null +++ b/app-text/ebook2cw/ebook2cw-0.8.5.ebuild @@ -0,0 +1,32 @@ +# 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" +IUSE="" + +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 +} |